]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: No line break on netdev_WARN* formatting
authorGal Pressman <galp@mellanox.com>
Sun, 7 Jan 2018 10:08:36 +0000 (12:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 01:53:14 +0000 (20:53 -0500)
commite1cfe3d0eb0430f4fb849ef606fb095b6e149853
tree166dfafbe6bfa7510d01218c0d00a920031e5c6e
parent72dd831e24cc9487a9cd534fdd675fe97e3c1839
net: No line break on netdev_WARN* formatting

Remove the unnecessary line break between the netdev name and reg state
to the actual message that should be printed.

For example, this:
[86730.307236] ------------[ cut here ]------------
[86730.313496] netdevice: enp27s0f0
Message from the driver
[...]

Will be replaced with:
[86770.259289] ------------[ cut here ]------------
[86770.265191] netdevice: enp27s0f0: Message from the driver
[...]

Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h