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