[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y42iAAH7Yvk6rOP+@unreal>
Date: Mon, 5 Dec 2022 09:47:12 +0200
From: Leon Romanovsky <leon@...nel.org>
To: ye.xingchen@....com.cn
Cc: davem@...emloft.net, ecree.xilinx@...il.com,
habetsm.xilinx@...il.com, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, petrm@...dia.com, khalasa@...p.pl,
shayagr@...zon.com, wsa+renesas@...g-engineering.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] sfc: use sysfs_emit() to instead of
scnprintf()
On Mon, Dec 05, 2022 at 10:21:45AM +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>
> ---
> v1 -> v2
> Fix the Subject.
> drivers/net/ethernet/sfc/efx_common.c | 2 +-
> drivers/net/ethernet/sfc/siena/efx_common.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists