[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y473v/0z/YlTRzoT@unreal>
Date: Tue, 6 Dec 2022 10:05:19 +0200
From: Leon Romanovsky <leon@...nel.org>
To: ye.xingchen@....com.cn
Cc: edumazet@...gle.com, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, richardbgobert@...il.com, iwienand@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: ethernet: use sysfs_emit() to instead of
scnprintf()
On Mon, Dec 05, 2022 at 07:18:56PM +0800, ye.xingchen@....com.cn wrote:
> From: ye xingchen <ye.xingchen@....com.cn>
>
> Follow the advice of the Documentation/filesystems/sysfs.rst and show()
> should only use sysfs_emit() or sysfs_emit_at() when formatting the
> value to be returned to user space.
>
> Signed-off-by: ye xingchen <ye.xingchen@....com.cn>
> ---
> net/ethernet/eth.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists