arcnet: rimi: Fix device name in debug output
authorJiri Kosina <jkosina@suse.cz>
Mon, 16 Apr 2012 02:02:48 +0000 (02:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Apr 2012 02:22:43 +0000 (22:22 -0400)
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>

No differences found