lkml.org 
[lkml]   [2020]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net-sysfs: add a newline when printing 'tx_timeout' by sysfs
From
Date
Hi,

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

>
> .
>

\
 
 \ /
  Last update: 2020-07-21 08:16    [W:0.250 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site