[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181102183317.2017-1-jwi@linux.ibm.com>
Date: Fri, 2 Nov 2018 19:33:17 +0100
From: Julian Wiedmann <jwi@...ux.ibm.com>
To: David Miller <davem@...emloft.net>
Cc: <netdev@...r.kernel.org>
Subject: [PATCH net] net-sysfs: fix formatting of tx_timeout attribute
Add a missing newline.
Signed-off-by: Julian Wiedmann <jwi@...ux.ibm.com>
---
net/core/net-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index bd67c4d0fcfd..ef06409d768e 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -1039,7 +1039,7 @@ static ssize_t tx_timeout_show(struct netdev_queue *queue, char *buf)
trans_timeout = queue->trans_timeout;
spin_unlock_irq(&queue->_xmit_lock);
- return sprintf(buf, "%lu", trans_timeout);
+ return sprintf(buf, "%lu\n", trans_timeout);
}
static unsigned int get_netdev_queue_index(struct netdev_queue *queue)
--
2.16.4
Powered by blists - more mailing lists