Skip to content
Commit b3d4f02e authored by Bo Liu's avatar Bo Liu Committed by Michael S. Tsirkin
Browse files

vhost-scsi: convert sysfs snprintf and sprintf to sysfs_emit



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: default avatarBo Liu <liubo03@inspur.com>
Message-Id: <20230129091145.2837-1-liubo03@inspur.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 36871fb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment