[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120417.222414.1021293399100195501.davem@davemloft.net>
Date: Tue, 17 Apr 2012 22:24:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jkosina@...e.cz
Cc: sdyoung@...20.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] arcnet: rimi: Fix device name in debug output
From: Jiri Kosina <jkosina@...e.cz>
Date: Mon, 16 Apr 2012 14:02:48 +0200 (CEST)
> From: Jiri Kosina <jkosina@...e.cz>
> 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@...20.org>
> Signed-off-by: Jiri Kosina <jkosina@...e.cz>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists