diff options
author | David S. Miller <davem@davemloft.net> | 2017-07-01 15:24:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-01 15:24:06 -0700 |
commit | 15324b25d5792b92c44714e20694a2df3a3a7b8f (patch) | |
tree | 90b44e4038c4635425311e2a1fa5fa44556e76b9 | |
parent | 4120dab09574e29e7576895342896ccb21b336e7 (diff) | |
parent | 53172d9bc4b44c037a305d3248c7160e5ad51341 (diff) | |
download | linux-15324b25d5792b92c44714e20694a2df3a3a7b8f.tar.gz linux-15324b25d5792b92c44714e20694a2df3a3a7b8f.tar.bz2 linux-15324b25d5792b92c44714e20694a2df3a3a7b8f.zip |
Merge branch 'sfc-MCDI-cleanups'
Edward Cree says:
====================
sfc: small MCDI cleanups
Giving the full MCDI event rather than just the code can aid in
debugging. While fixing this I noticed an outdated comment.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/sfc/mcdi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.c b/drivers/net/ethernet/sfc/mcdi.c index b9422450deb8..3df872f56289 100644 --- a/drivers/net/ethernet/sfc/mcdi.c +++ b/drivers/net/ethernet/sfc/mcdi.c @@ -1301,7 +1301,7 @@ static void efx_mcdi_abandon(struct efx_nic *efx) efx_schedule_reset(efx, RESET_TYPE_MCDI_TIMEOUT); } -/* Called from falcon_process_eventq for MCDI events */ +/* Called from efx_farch_ev_process and efx_ef10_ev_process for MCDI events */ void efx_mcdi_process_event(struct efx_channel *channel, efx_qword_t *event) { @@ -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)); } } |