Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315375
b: refs/heads/master
c: c7e12ea
h: refs/heads/master
i:
  315373: 5a71348
  315371: c4de18a
  315367: 72b151a
  315359: ad66dc0
v: v3
  • Loading branch information
Joe Perches authored and David S. Miller committed Jul 17, 2012
1 parent ceb2258 commit d4e257e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7efd26d0db5917b9e53d72e76e52338b2600ae20
refs/heads/master: c7e12ead5f92413234b3d9f4f35ae56734decd21
2 changes: 1 addition & 1 deletion trunk/drivers/net/usb/smsc75xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ static void smsc75xx_init_mac_address(struct usbnet *dev)

/* no eeprom, or eeprom values are invalid. generate random MAC */
eth_hw_addr_random(dev->net);
netif_dbg(dev, ifup, dev->net, "MAC address set to random_ether_addr");
netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr");
}

static int smsc75xx_set_mac_address(struct usbnet *dev)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/usb/smsc95xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ static void smsc95xx_init_mac_address(struct usbnet *dev)

/* no eeprom, or eeprom values are invalid. generate random MAC */
eth_hw_addr_random(dev->net);
netif_dbg(dev, ifup, dev->net, "MAC address set to random_ether_addr\n");
netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n");
}

static int smsc95xx_set_mac_address(struct usbnet *dev)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/usb/usbnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ static int __init usbnet_init(void)
BUILD_BUG_ON(
FIELD_SIZEOF(struct sk_buff, cb) < sizeof(struct skb_data));

random_ether_addr(node_id);
eth_random_addr(node_id);
return 0;
}
module_init(usbnet_init);
Expand Down

0 comments on commit d4e257e

Please sign in to comment.