Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: (subset) [PATCH v2 01/25] scsi: aacraid: Convert sprintf() family to sysfs_emit() family | Date | Thu, 11 Apr 2024 22:05:10 -0400 |
| |
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
| |