OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4effc0
)
sfc: don't warn on successful change of MAC
author
Robert Stonehouse
<rstonehouse@solarflare.com>
Tue, 7 Nov 2017 17:30:30 +0000
(17:30 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 10 Nov 2017 06:31:13 +0000
(15:31 +0900)
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>
drivers/net/ethernet/sfc/ef10.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/ef10.c
b/drivers/net/ethernet/sfc/ef10.c
index
19a9188
..
46d6001
100644
(file)
--- 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);
}