diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-12-02 13:46:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-03 09:08:02 -0800 |
commit | f18ca364617d5e1fdd7300e025473496e397db4b (patch) | |
tree | 8825598429b9962f24e714e3784f8bbddf660623 /drivers/net/sfc | |
parent | b924dcf0038b8f83e65b44f679ad480d44f85aa6 (diff) | |
download | op-kernel-dev-f18ca364617d5e1fdd7300e025473496e397db4b.zip op-kernel-dev-f18ca364617d5e1fdd7300e025473496e397db4b.tar.gz |
sfc: Reduce log level for MCDI error response in efx_mcdi_rpc()
Some errors are expected, e.g. when sending new commands to an MC
running old firmware. Only the caller of efx_mcdi_rpc() can decide
what is a real error. Therefore log the error responses with
netif_dbg().
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r-- | drivers/net/sfc/mcdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/mcdi.c b/drivers/net/sfc/mcdi.c index 12cf910..e389ac6 100644 --- a/drivers/net/sfc/mcdi.c +++ b/drivers/net/sfc/mcdi.c @@ -381,7 +381,7 @@ int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, -rc); efx_schedule_reset(efx, RESET_TYPE_MC_FAILURE); } else - netif_err(efx, hw, efx->net_dev, + netif_dbg(efx, hw, efx->net_dev, "MC command 0x%x inlen %d failed rc=%d\n", cmd, (int)inlen, -rc); } |