Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1402460
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 net] drivers: net: Don't print unpopulated net_device name |
| Date | 2016-05-17 18:40 +0200 |
| Message-ID | <rzQci-6VD-15@gated-at.bofh.it> (permalink) |
| References | <rzNo6-58S-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Harvey Hunt <harvey.hunt@imgtec.com> 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 <harvey.hunt@imgtec.com> > Cc: Marcel Ziswiler <marcel@ziswiler.com> > Cc: Robert Jarzmik <robert.jarzmik@free.fr> > Cc: Barry Song <Baohua.Song@csr.com> > Cc: netdev@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > v1 -> v2: > - Replace ifconfig with ip > - Delay printk until the netdev name is known Yeah this looks a lot better, applied, thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 net] drivers: net: Don't print unpopulated net_device name Harvey Hunt <harvey.hunt@imgtec.com> - 2016-05-17 15:40 +0200 Re: [PATCH v2 net] drivers: net: Don't print unpopulated net_device name David Miller <davem@davemloft.net> - 2016-05-17 18:40 +0200
csiph-web