linux/drivers/scsi/mvsas
Yang Guang 0ad3867b0f scsi: mvsas: Replace snprintf() with sysfs_emit()
coccinelle report:
./drivers/scsi/mvsas/mv_init.c:699:8-16:
WARNING: use scnprintf or sprintf
./drivers/scsi/mvsas/mv_init.c:747:8-16:
WARNING: use scnprintf or sprintf

Use sysfs_emit() instead of scnprintf() or sprintf().

Link: https://lore.kernel.org/r/c1711f7cf251730a8ceb5bdfc313bf85662b3395.1643182948.git.yang.guang5@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: David Yang <davidcomponentone@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-01-31 16:59:11 -05:00
..
Kconfig
Makefile
mv_64xx.c
mv_64xx.h
mv_94xx.c
mv_94xx.h
mv_chips.h
mv_defs.h
mv_init.c scsi: mvsas: Replace snprintf() with sysfs_emit() 2022-01-31 16:59:11 -05:00
mv_sas.c scsi: mvsas: Add spin_lock/unlock() to protect asd_sas_port->phy_list 2021-12-22 23:38:29 -05:00
mv_sas.h scsi: mvsas: Avoid -Wempty-body warning 2021-04-01 22:56:37 -04:00