Re: [PATCH] sfc: use sysfs_emit() to instead of scnprintf()
From: Leon Romanovsky
Date: Sun Dec 04 2022 - 07:30:06 EST
On Fri, Dec 02, 2022 at 04:32:20PM +0800, ye.xingchen@xxxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> ---
> drivers/net/ethernet/sfc/efx_common.c | 2 +-
> drivers/net/ethernet/sfc/siena/efx_common.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Please use [PATCH net-next] ... format in title.
Thanks