summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-13 07:33:12 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-17 07:39:25 +0200
commit6e5928f6dfd92a47c489bb735c4cb8bbb62038e0 (patch)
tree95f49ca2c94bfee44f85882fe58aecf10a6b35e1 /arch/um
parentusb: Use eth_random_addr (diff)
downloadlinux-6e5928f6dfd92a47c489bb735c4cb8bbb62038e0.tar.xz
linux-6e5928f6dfd92a47c489bb735c4cb8bbb62038e0.zip
arch: Use eth_random_addr
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/net_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c
index 0d60c5685c26..458d324f062d 100644
--- a/arch/um/drivers/net_kern.c
+++ b/arch/um/drivers/net_kern.c
@@ -339,7 +339,7 @@ static int setup_etheraddr(char *str, unsigned char *addr, char *name)
random:
printk(KERN_INFO
"Choosing a random ethernet address for device %s\n", name);
- random_ether_addr(addr);
+ eth_random_addr(addr);
return 1;
}