diff options
author | Harvey Hunt <harvey.hunt@imgtec.com> | 2016-05-17 14:33:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-17 12:30:19 -0400 |
commit | 3274940bd3d87043c74aa444ff3b0dff56b3e9ea (patch) | |
tree | bd29527f6b5d71dd3fedf614e087bf88be6a2044 /net | |
parent | 39651abd28146fff2bfac63d68a7a56250a4aead (diff) |
drivers: net: Don't print unpopulated net_device name
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
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions