net: replace random_ether_addr() with eth_hw_addr_random()
authorDanny Kukawka <danny.kukawka@bisect.de>
Wed, 15 Feb 2012 06:45:39 +0000 (06:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2012 20:34:16 +0000 (15:34 -0500)
commitf2cedb63df14342ad40a8b5b324fc5d94a60b665
treebebdbe0f98c216e59849bc3adb85f8abf5aadc2b
parenta1e785e02bb53573443c7e58a444cef1a049f6ce
net: replace random_ether_addr() with eth_hw_addr_random()

Replace usage of random_ether_addr() with eth_hw_addr_random()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Change the trivial cases.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
24 files changed:
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cirrus/ep93xx_eth.c
drivers/net/ethernet/davicom/dm9000.c
drivers/net/ethernet/dnet.c
drivers/net/ethernet/faraday/ftgmac100.c
drivers/net/ethernet/faraday/ftmac100.c
drivers/net/ethernet/mipsnet.c
drivers/net/ethernet/natsemi/macsonic.c
drivers/net/ethernet/rdc/r6040.c
drivers/net/ethernet/sis/sis900.c
drivers/net/ethernet/smsc/smsc9420.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/toshiba/tc35815.c
drivers/net/ethernet/via/via-rhine.c
drivers/net/ifb.c
drivers/net/tun.c
drivers/net/usb/smsc75xx.c
drivers/net/usb/smsc95xx.c
drivers/net/veth.c
drivers/net/virtio_net.c
drivers/net/wan/hdlc_fr.c
drivers/net/wan/hdlc_raw_eth.c
net/ipv4/ip_gre.c
net/l2tp/l2tp_eth.c