Re: [PATCH] net-sysfs: add a newline when printing 'tx_timeout' by sysfs

From: Xiongfeng Wang
Date: Tue Jul 21 2020 - 02:16:44 EST


Hi,

On 2020/7/21 8:44, David Miller wrote:
> From: Xiongfeng Wang <wangxiongfeng2@xxxxxxxxxx>
> 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

>
> .
>