Re: [PATCH v2 net] drivers: net: Don't print unpopulated net_device name

2016-05-17 Thread David Miller
From: Harvey Hunt Date: Tue, 17 May 2016 14:33:27 +0100 > For ethernet devices, net_device.name will be eth%d before > register_netdev() is called. Don't print the net_device name until > the format string is replaced. > > Signed-off-by: Harvey Hunt > Cc: Marcel Ziswiler > Cc: Robert Jarzmik

[PATCH v2 net] drivers: net: Don't print unpopulated net_device name

2016-05-17 Thread Harvey Hunt
For ethernet devices, net_device.name will be eth%d before register_netdev() is called. Don't print the net_device name until the format string is replaced. Signed-off-by: Harvey Hunt Cc: Marcel Ziswiler Cc: Robert Jarzmik Cc: Barry Song Cc: netdev@vger.kernel.org Cc: linux-ker...@vger.kernel.