On Thu, 27 Jan 2022 08:03:46 +0800, davidcomponentone@xxxxxxxxx wrote: > From: Yang Guang <yang.guang5@xxxxxxxxxx> > > coccinelle report: > ./drivers/scsi/bfa/bfad_attr.c:908:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:860:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:888:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:853:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:808:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:728:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:822:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:927:9-17: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:900:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:874:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:714:8-16: > WARNING: use scnprintf or sprintf > ./drivers/scsi/bfa/bfad_attr.c:839:8-16: > WARNING: use scnprintf or sprintf > > [...] Applied to 5.18/scsi-queue, thanks! [1/1] scsi: bfa: replace snprintf with sysfs_emit https://git.kernel.org/mkp/scsi/c/2245ea91fd3a -- Martin K. Petersen Oracle Linux Engineering