On Tue, 19 Mar 2024 14:31:08 +0800, Li Zhijian wrote: > Per filesystems/sysfs.rst, show() should only use sysfs_emit() > or sysfs_emit_at() when formatting the value to be returned to user space. > > coccinelle complains that there are still a couple of functions that use > snprintf(). Convert them to sysfs_emit(). > > sprintf() and scnprintf() will be converted as well if they have. > > [...] Applied to 6.10/scsi-queue, thanks! [12/25] scsi: snic: Convert sprintf() family to sysfs_emit() family https://git.kernel.org/mkp/scsi/c/eab302e89f3d -- Martin K. Petersen Oracle Linux Engineering