summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc
diff options
context:
space:
mode:
authorJon Cooper <jcooper@solarflare.com>2017-06-30 15:54:33 +0100
committerDavid S. Miller <davem@davemloft.net>2017-07-01 15:24:05 -0700
commit4e2e347b77d8bd724bfd2e10a84551cb9099ccd7 (patch)
treee0eb7f2450a669e4e8b64a578f90c1ada778bced /drivers/net/ethernet/sfc
parent4120dab09574e29e7576895342896ccb21b336e7 (diff)
downloadlinux-4e2e347b77d8bd724bfd2e10a84551cb9099ccd7.tar.bz2
sfc: change Unknown MCDI event message to print full event.
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-rw-r--r--drivers/net/ethernet/sfc/mcdi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.c b/drivers/net/ethernet/sfc/mcdi.c
index b9422450deb8..00cd6a205034 100644
--- a/drivers/net/ethernet/sfc/mcdi.c
+++ b/drivers/net/ethernet/sfc/mcdi.c
@@ -1389,8 +1389,9 @@ void efx_mcdi_process_event(struct efx_channel *channel,
MCDI_EVENT_FIELD(*event, PROXY_RESPONSE_RC));
break;
default:
- netif_err(efx, hw, efx->net_dev, "Unknown MCDI event 0x%x\n",
- code);
+ netif_err(efx, hw, efx->net_dev,
+ "Unknown MCDI event " EFX_QWORD_FMT "\n",
+ EFX_QWORD_VAL(*event));
}
}