aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHarvey Hunt <[email protected]>2016-05-17 13:33:27 +0000
committerDavid S. Miller <[email protected]>2016-05-17 16:30:19 +0000
commit3274940bd3d87043c74aa444ff3b0dff56b3e9ea (patch)
treebd29527f6b5d71dd3fedf614e087bf88be6a2044 /net/switchdev/switchdev.c
parentqed: add support for dcbx. (diff)
downloadkernel-3274940bd3d87043c74aa444ff3b0dff56b3e9ea.tar.gz
kernel-3274940bd3d87043c74aa444ff3b0dff56b3e9ea.zip
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 <[email protected]> Cc: Marcel Ziswiler <[email protected]> Cc: Robert Jarzmik <[email protected]> Cc: Barry Song <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions