Skip to content
Commit 0eceb82f authored by Danny Kukawka's avatar Danny Kukawka Committed by Bob Liu
Browse files

arch/blackfin: don't generate random mac in bfin_get_ether_addr()



Changed bfin_get_ether_addr() to return a state and to
set no random mac address if the board don't provide one.

Let the caller of bfin_get_ether_addr() set a random mac
address if the return value is not 0.

v2: don't set random mac in bfin_get_ether_addr()

Signed-off-by: default avatarDanny Kukawka <danny.kukawka@bisect.de>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
parent dd47ba13
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