aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index ec5bc3d04333..97dcccdb9eb2 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -8045,7 +8045,7 @@ static int tg3_set_mac_addr(struct net_device *dev, void *p)
8045 int err = 0, skip_mac_1 = 0; 8045 int err = 0, skip_mac_1 = 0;
8046 8046
8047 if (!is_valid_ether_addr(addr->sa_data)) 8047 if (!is_valid_ether_addr(addr->sa_data))
8048 return -EINVAL; 8048 return -EADDRNOTAVAIL;
8049 8049
8050 memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); 8050 memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);
8051 8051