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>
This commit is contained in:
Joe Perches
2012-07-12 22:33:12 -07:00
committed by David S. Miller
부모 006c9139f7
커밋 6e5928f6df
5개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제

파일 보기

@@ -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;
}