[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200720.174432.702526374205425580.davem@davemloft.net>
Date: Mon, 20 Jul 2020 17:44:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wangxiongfeng2@...wei.com
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net-sysfs: add a newline when printing 'tx_timeout' by
sysfs
From: Xiongfeng Wang <wangxiongfeng2@...wei.com>
Date: Mon, 20 Jul 2020 19:17:49 +0800
> - return sprintf(buf, "%lu", trans_timeout);
> + return sprintf(buf, "%lu\n", trans_timeout);
Better to replace it with 'fmt_ulong'.
Powered by blists - more mailing lists