Commit 344dc8ed authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

drivers/net: Use eth_random_addr

Convert the existing uses of random_ether_addr to
the new eth_random_addr.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f4f7f414
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* Add TUNSETLINK ioctl to set the link encapsulation * Add TUNSETLINK ioctl to set the link encapsulation
* *
* Mark Smith <markzzzsmith@yahoo.com.au> * Mark Smith <markzzzsmith@yahoo.com.au>
* Use random_ether_addr() for tap MAC address. * Use eth_random_addr() for tap MAC address.
* *
* Harald Roelle <harald.roelle@ifi.lmu.de> 2004/04/20 * Harald Roelle <harald.roelle@ifi.lmu.de> 2004/04/20
* Fixes in packet dropping, queue length setting and queue wakeup. * Fixes in packet dropping, queue length setting and queue wakeup.
......
...@@ -896,7 +896,7 @@ int i2400m_setup(struct i2400m *i2400m, enum i2400m_bri bm_flags) ...@@ -896,7 +896,7 @@ int i2400m_setup(struct i2400m *i2400m, enum i2400m_bri bm_flags)
result = i2400m_read_mac_addr(i2400m); result = i2400m_read_mac_addr(i2400m);
if (result < 0) if (result < 0)
goto error_read_mac_addr; goto error_read_mac_addr;
random_ether_addr(i2400m->src_mac_addr); eth_random_addr(i2400m->src_mac_addr);
i2400m->pm_notifier.notifier_call = i2400m_pm_notifier; i2400m->pm_notifier.notifier_call = i2400m_pm_notifier;
register_pm_notifier(&i2400m->pm_notifier); register_pm_notifier(&i2400m->pm_notifier);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment