diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/meth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/meth.c b/drivers/net/meth.c index 4cb364e67dc6..0a97c26df6ab 100644 --- a/drivers/net/meth.c +++ b/drivers/net/meth.c | |||
@@ -100,7 +100,7 @@ static inline void load_eaddr(struct net_device *dev) | |||
100 | DPRINTK("Loading MAC Address: %s\n", print_mac(mac, dev->dev_addr)); | 100 | DPRINTK("Loading MAC Address: %s\n", print_mac(mac, dev->dev_addr)); |
101 | macaddr = 0; | 101 | macaddr = 0; |
102 | for (i = 0; i < 6; i++) | 102 | for (i = 0; i < 6; i++) |
103 | macaddr |= dev->dev_addr[i] << ((5 - i) * 8); | 103 | macaddr |= (u64)dev->dev_addr[i] << ((5 - i) * 8); |
104 | 104 | ||
105 | mace->eth.mac_addr = macaddr; | 105 | mace->eth.mac_addr = macaddr; |
106 | } | 106 | } |