Commit 57fa76a4 authored by Robert Stonehouse's avatar Robert Stonehouse Committed by Greg Kroah-Hartman

sfc: don't warn on successful change of MAC


[ Upstream commit cbad52e9 ]

Fixes: 535a6177 ("sfc: suppress handled MCDI failures when changing the MAC address")
Signed-off-by: default avatarBert Kenward <bkenward@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c9b79738
...@@ -4307,7 +4307,7 @@ static int efx_ef10_set_mac_address(struct efx_nic *efx) ...@@ -4307,7 +4307,7 @@ static int efx_ef10_set_mac_address(struct efx_nic *efx)
* MCFW do not support VFs. * MCFW do not support VFs.
*/ */
rc = efx_ef10_vport_set_mac_address(efx); rc = efx_ef10_vport_set_mac_address(efx);
} else { } else if (rc) {
efx_mcdi_display_error(efx, MC_CMD_VADAPTOR_SET_MAC, efx_mcdi_display_error(efx, MC_CMD_VADAPTOR_SET_MAC,
sizeof(inbuf), NULL, 0, rc); sizeof(inbuf), NULL, 0, rc);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment