1
0
Fork 0
alistair23-linux/drivers/net/arcnet
Jiri Kosina b95465c8fc arcnet: rimi: Fix device name in debug output
arcrimi_probe() calls BUGMSG() before register_netdev() happens. BUGMSG()
itself prints dev->name, but as the format string hasn't been expanded by
register_netdev() yet, the output contains bogus device name such as

	arc%d: Given: node 00h, shmem 0h, irq 0

As we don't know the device name yet, just drop the prefix completely from
the debugging messages.

Reported-by: Steven Young <sdyoung@vt220.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-17 22:22:43 -04:00
..
Kconfig net: Revert ARCNET and PHYLIB to tristate options 2011-11-26 14:36:49 -05:00
Makefile com20020_cs: Move the PCMCIA Arcnet driver 2011-08-27 00:58:44 -07:00
arc-rawmode.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
arc-rimi.c arcnet: rimi: Fix device name in debug output 2012-04-17 22:22:43 -04:00
arcnet.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
capmode.c drivers/net/arcnet/capmode.c: clean up code 2010-05-31 00:35:13 -07:00
com90io.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com90xx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com20020-isa.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com20020-pci.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com20020.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
com20020_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
rfc1051.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
rfc1201.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00