Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315379
b: refs/heads/master
c: 006c913
h: refs/heads/master
i:
  315377: ba63ac8
  315375: d4e257e
v: v3
  • Loading branch information
Joe Perches authored and David S. Miller committed Jul 17, 2012
1 parent 607cdd6 commit fb6083d
Show file tree
Hide file tree
Showing 3 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: 1833611d4efe4b99bb346aec40b827410a4de2e5
refs/heads/master: 006c9139f7a90d3419381a59ac76f42612f94c14
4 changes: 2 additions & 2 deletions trunk/drivers/usb/atm/xusbatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
******************************************************************************/

#include <linux/module.h>
#include <linux/etherdevice.h> /* for random_ether_addr() */
#include <linux/etherdevice.h> /* for eth_random_addr() */

#include "usbatm.h"

Expand Down Expand Up @@ -163,7 +163,7 @@ static int xusbatm_atm_start(struct usbatm_data *usbatm,
atm_dbg(usbatm, "%s entered\n", __func__);

/* use random MAC as we've no way to get it from the device */
random_ether_addr(atm_dev->esi);
eth_random_addr(atm_dev->esi);

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/u_ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ static int get_ether_addr(const char *str, u8 *dev_addr)
if (is_valid_ether_addr(dev_addr))
return 0;
}
random_ether_addr(dev_addr);
eth_random_addr(dev_addr);
return 1;
}

Expand Down

0 comments on commit fb6083d

Please sign in to comment.