Commit c2c5a705 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

netdev_printk/netif_printk: Remove a superfluous logging colon

netdev_printk originally called dev_printk with %pV.

This style emitted the complete dev_printk header with
a colon followed by the netdev_name prefix followed
by a colon.

Now that netdev_printk does not call dev_printk, the
extra colon is superfluous.  Remove it.

Example:
old: sky2 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control both
new: sky2 0000:02:00.0 eth0: Link is up at 100 Mbps, full duplex, flow control both
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Tested-by: default avatarJim Cromie <jim.cromie@gmail.com>
Acked-by: default avatarJason Baron <jbaron@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b004ff49
...@@ -634,7 +634,7 @@ int __dynamic_netdev_dbg(struct _ddebug *descriptor, ...@@ -634,7 +634,7 @@ int __dynamic_netdev_dbg(struct _ddebug *descriptor,
dict, sizeof(dict)); dict, sizeof(dict));
res = printk_emit(0, 7, dictlen ? dict : NULL, dictlen, res = printk_emit(0, 7, dictlen ? dict : NULL, dictlen,
"%s%s %s: %s: %pV", "%s%s %s %s: %pV",
dynamic_emit_prefix(descriptor, buf), dynamic_emit_prefix(descriptor, buf),
dev_driver_string(dev->dev.parent), dev_driver_string(dev->dev.parent),
dev_name(dev->dev.parent), dev_name(dev->dev.parent),
......
...@@ -6435,7 +6435,7 @@ static int __netdev_printk(const char *level, const struct net_device *dev, ...@@ -6435,7 +6435,7 @@ static int __netdev_printk(const char *level, const struct net_device *dev,
r = printk_emit(0, level[1] - '0', r = printk_emit(0, level[1] - '0',
dictlen ? dict : NULL, dictlen, dictlen ? dict : NULL, dictlen,
"%s %s: %s: %pV", "%s %s %s: %pV",
dev_driver_string(dev->dev.parent), dev_driver_string(dev->dev.parent),
dev_name(dev->dev.parent), dev_name(dev->dev.parent),
netdev_name(dev), vaf); netdev_name(dev), vaf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment