On Tue, 16 Jan 2024 12:10:47 +0800, Li Zhijian wrote: > make coccicheck COCCI=$PWD/scripts/coccinelle/api/device_attr_show.cocci` > complians some warnnings as following[1]: > > Not sure if someone had tried these fixes, feel free to ignore this > patch set if we have come to a *NOT-FIX* conclusion before :) > > This patch set also fix a few snprintf() beside coccicheck reported. > For example, some thing like > xxx_show() { > rc = snprintf(); > ... > return rc; > } > > [...]
Applied to 6.9/scsi-queue, thanks! [22/42] drivers/scsi/fnic: Convert snprintf to sysfs_emit https://git.kernel.org/mkp/scsi/c/1ad717c92925 [25/42] drivers/scsi/ibmvscsi: Convert snprintf to sysfs_emit https://git.kernel.org/mkp/scsi/c/29ff822f466e [26/42] drivers/scsi/ibmvscsi_tgt: Convert snprintf to sysfs_emit https://git.kernel.org/mkp/scsi/c/01105c23de42 [27/42] drivers/scsi/isci: Convert snprintf to sysfs_emit https://git.kernel.org/mkp/scsi/c/5fbf37e53091 [34/42] drivers/scsi/pm8001: Convert snprintf to sysfs_emit https://git.kernel.org/mkp/scsi/c/8179041f801d -- Martin K. Petersen Oracle Linux Engineering