WSL2-Linux-Kernel/arch/blackfin
Danny Kukawka fa63c6da22 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: Danny Kukawka <danny.kukawka@bisect.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-19 19:02:42 -05:00
..
boot Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00
configs blackfin: config: update def config for all boards 2012-01-09 10:26:15 +08:00
include Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
kernel blackfin: time-ts: rm unused func broadcast_timer_setup() 2012-01-09 10:26:16 +08:00
lib Blackfin: strncpy: fix handling of zero lengths 2011-06-03 11:05:36 -04:00
mach-bf518 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-02-19 19:02:42 -05:00
mach-bf527 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-02-19 19:02:42 -05:00
mach-bf533 blackfin: i2c-lcd: change default clock rate 2012-01-09 10:26:16 +08:00
mach-bf537 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-02-19 19:02:42 -05:00
mach-bf538 blackfin: config: update macro SPI_BFIN in board file 2012-01-09 10:26:15 +08:00
mach-bf548 blackfin: bf548: add capture support 2012-01-09 10:26:16 +08:00
mach-bf561 blackfin: bf561: add adv7183 capture support 2012-01-09 10:26:17 +08:00
mach-common blackfin: smp: fix msg queue overflow issue 2012-01-09 10:26:15 +08:00
mm blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Blackfin: drop unused Kconfig symbol 2011-10-25 19:51:59 -04:00
Kconfig.debug Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2011-05-25 15:34:14 -07:00
Makefile Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00