net-sysfs: add a newline when printing 'tx_timeout' by sysfs
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Tue, 21 Jul 2020 07:02:57 +0000 (15:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2020 16:47:14 +0000 (18:47 +0200)
commit2c58ae5d1df71dce5ead48874d8bb441022ee5a5
tree749313f202ab3c29b6c18f1b16a98cd17415bb3f
parentfbff97eb6f4a94a3f15f685bed604c9adc29ac3e
net-sysfs: add a newline when printing 'tx_timeout' by sysfs

[ Upstream commit 9bb5fbea59f36a589ef886292549ca4052fe676c ]

When I cat 'tx_timeout' by sysfs, it displays as follows. It's better to
add a newline for easy reading.

root@syzkaller:~# cat /sys/devices/virtual/net/lo/queues/tx-0/tx_timeout
0root@syzkaller:~#

Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/net-sysfs.c