[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f9dd7249-3606-8ebe-8913-082953735817@huawei.com>
Date: Tue, 21 Jul 2020 14:16:27 +0800
From: Xiongfeng Wang <wangxiongfeng2@...wei.com>
To: David Miller <davem@...emloft.net>
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
Hi,
On 2020/7/21 8:44, David Miller wrote:
> 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'.
Thanks for your advice. I will change it in the next version.
Thanks,
Xiongfeng
>
> .
>
Powered by blists - more mailing lists