sfc: change Unknown MCDI event message to print full event.
authorJon Cooper <jcooper@solarflare.com>
Fri, 30 Jun 2017 14:54:33 +0000 (15:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jul 2017 22:24:05 +0000 (15:24 -0700)
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi.c

index b9422450deb8e91b4a34bee26e8648d6e3a6ac8b..00cd6a205034b21f70d5c61d9bca5ab67a0be191 100644 (file)
@@ -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));
        }
 }