From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Wiedmann Subject: [PATCH net] net-sysfs: fix formatting of tx_timeout attribute Date: Fri, 2 Nov 2018 19:33:17 +0100 Message-ID: <20181102183317.2017-1-jwi@linux.ibm.com> Cc: To: David Miller Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36006 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726849AbeKCDlf (ORCPT ); Fri, 2 Nov 2018 23:41:35 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wA2ITBG4040961 for ; Fri, 2 Nov 2018 14:33:25 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ngrm3ga9k-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 02 Nov 2018 14:33:25 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Nov 2018 18:33:23 -0000 Sender: netdev-owner@vger.kernel.org List-ID: Add a missing newline. Signed-off-by: Julian Wiedmann --- 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