sfc: don't warn on successful change of MAC

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>
This commit is contained in:
Robert Stonehouse 2017-11-07 17:30:30 +00:00 коммит произвёл David S. Miller
Родитель e4effc094c
Коммит cbad52e92a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5734,7 +5734,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);
} }