diff options
author | Robert Stonehouse <rstonehouse@solarflare.com> | 2017-11-07 17:30:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-10 15:31:13 +0900 |
commit | cbad52e92ad7f01f0be4ca58bde59462dc1afe3a (patch) | |
tree | 7af5338be9513b7567d929361c0a7b52531ace35 /drivers/net/ethernet/sfc | |
parent | e4effc094c91706c5737530ef9ae6298e1d67512 (diff) | |
download | linux-cbad52e92ad7f01f0be4ca58bde59462dc1afe3a.tar.bz2 |
sfc: don't warn on successful change of MAC
Fixes: 535a61777f44e ("sfc: suppress handled MCDI failures when changing the MAC address")
Signed-off-by: Bert Kenward <bkenward@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/ef10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c index 19a91881fbf9..46d60013564c 100644 --- a/drivers/net/ethernet/sfc/ef10.c +++ b/drivers/net/ethernet/sfc/ef10.c @@ -5734,7 +5734,7 @@ static int efx_ef10_set_mac_address(struct efx_nic *efx) * MCFW do not support VFs. */ rc = efx_ef10_vport_set_mac_address(efx); - } else { + } else if (rc) { efx_mcdi_display_error(efx, MC_CMD_VADAPTOR_SET_MAC, sizeof(inbuf), NULL, 0, rc); } |