Messages in this thread | | | Subject | Re: [PATCH] net-sysfs: add a newline when printing 'tx_timeout' by sysfs | From | Xiongfeng Wang <> | Date | Tue, 21 Jul 2020 14:16:27 +0800 |
| |
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
> > . >
| |