]> git.baikalelectronics.ru Git - kernel.git/commit
net: use netdev_info in ndo_dflt_fdb_{add,del}
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 29 Jun 2021 00:29:25 +0000 (03:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2021 18:31:57 +0000 (11:31 -0700)
commita98ac18c5ab2ce955faecb7787ffaa37f9e29ca5
tree60024e876d86abdd105ff6810fccc754fd50ebef
parenta8c1e90a0c6c81eaca3039486dc784f5aa0cbef2
net: use netdev_info in ndo_dflt_fdb_{add,del}

Use the more modern printk helper for network interfaces, which also
contains information about the associated struct device, and results in
overall shorter line lengths compared to printing an open-coded
dev->name.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c