projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethernet: use eth_hw_addr_set() instead of ether_addr_copy()
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
sfc
/
ef10_sriov.c
diff --git
a/drivers/net/ethernet/sfc/ef10_sriov.c
b/drivers/net/ethernet/sfc/ef10_sriov.c
index
752d640
..
06d23c7
100644
(file)
--- a/
drivers/net/ethernet/sfc/ef10_sriov.c
+++ b/
drivers/net/ethernet/sfc/ef10_sriov.c
@@
-523,7
+523,7
@@
int efx_ef10_sriov_set_vf_mac(struct efx_nic *efx, int vf_i, u8 *mac)
goto fail;
if (vf->efx)
- eth
er_addr_copy(vf->efx->net_dev->dev_addr
, mac);
+ eth
_hw_addr_set(vf->efx->net_dev
, mac);
}
ether_addr_copy(vf->mac, mac);