Re: [PATCH] vhost-scsi: convert sysfs snprintf and sprintf to sysfs_emit

From: Simon Horman
Date: Sun Jan 29 2023 - 05:32:44 EST


On Sun, Jan 29, 2023 at 04:11:45AM -0500, Bo Liu wrote:
> 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: Bo Liu <liubo03@xxxxxxxxxx>

FWIIW,

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>