Re: [PATCH] arcnet: rimi: Fix device name in debug output

From: David Miller
Date: Tue Apr 17 2012 - 22:26:07 EST

From: Jiri Kosina <jkosina@xxxxxxx>
Date: Mon, 16 Apr 2012 14:02:48 +0200 (CEST)

> From: Jiri Kosina <jkosina@xxxxxxx>
> Subject: [PATCH] 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@xxxxxxxxx>
> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>

Applied, thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at