mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
sfc: don't warn on successful change of MAC
[ Upstream commitcbad52e92a] Fixes:535a61777f("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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dba1ca0e9a
commit
71307dd192
@@ -5726,7 +5726,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user