diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-04-16 02:02:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-17 22:22:43 -0400 |
commit | b95465c8fcd7c8619ff9ff7bbf8038ab31c7f34b (patch) | |
tree | 6831fdf569957754791c0dea1b8594ffd66c6cd7 /include/net | |
parent | 890fdf2a0cb88202d1427589db2cf29c1bdd3c1d (diff) |
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions