Stefan Hajnoczi
2023-Jan-30 19:33 UTC
[PATCH] vhost-scsi: convert sysfs snprintf and sprintf to sysfs_emit
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 at inspur.com> > --- > drivers/vhost/scsi.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-)Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20230130/0cb6a605/attachment.sig>