From: Jiri Kosina Date: Mon, 16 Apr 2012 02:02:48 +0000 (+0000) Subject: arcnet: rimi: Fix device name in debug output X-Git-Tag: v3.4-rc5~44^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b95465c8fcd7c8619ff9ff7bbf8038ab31c7f34b;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina Signed-off-by: David S. Miller --- Reading git-diff-tree failed