cxgb4: Adds a new Device Log Facility FW_DEVLOG_FACILITY_CF
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 1 Oct 2015 08:18:47 +0000 (13:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:48:41 +0000 (03:48 -0700)
The firmware team added a new Device Log Facility FW_DEVLOG_FACILITY_CF,
but the driver has been decoding Device Log messages with that Facility as
"(NULL)", fixing it.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c

index b4ace19..4269944 100644 (file)
@@ -940,6 +940,7 @@ static const char * const devlog_level_strings[] = {
 
 static const char * const devlog_facility_strings[] = {
        [FW_DEVLOG_FACILITY_CORE]       = "CORE",
+       [FW_DEVLOG_FACILITY_CF]         = "CF",
        [FW_DEVLOG_FACILITY_SCHED]      = "SCHED",
        [FW_DEVLOG_FACILITY_TIMER]      = "TIMER",
        [FW_DEVLOG_FACILITY_RES]        = "RES",