linux-stable/drivers/scsi/pm8001
Deepak R Varma 679062c65b scsi: pm8001: Use sysfs_emit() in show function callbacks
According to Documentation/filesystems/sysfs.rst, the show() callback
function of kobject attributes should use sysfs_emit() instead of the
sprintf() family of functions.

Issue identified using the coccinelle device_attr_show.cocci script.

Link: https://lore.kernel.org/r/Y5JE/xI2NNbnox/A@qemulion
Signed-off-by: Deepak R Varma <drv@mailo.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-01-11 21:53:34 -05:00
..
Makefile
pm80xx_hwi.c scsi: pm80xx: Remove unused reset_in_progress flag logic 2022-10-22 03:06:34 +00:00
pm80xx_hwi.h
pm80xx_tracepoints.c
pm80xx_tracepoints.h
pm8001_chips.h
pm8001_ctl.c scsi: pm8001: Use sysfs_emit() in show function callbacks 2023-01-11 21:53:34 -05:00
pm8001_ctl.h
pm8001_defs.h
pm8001_hwi.c scsi: pm8001: Use sas_ata_device_link_abort() to handle NCQ errors 2022-10-18 02:37:45 +00:00
pm8001_hwi.h
pm8001_init.c SCSI misc on 20221213 2022-12-14 08:58:51 -08:00
pm8001_sas.c scsi: pm8001: Drop !task check in pm8001_abort_task() 2022-10-27 02:22:59 +00:00
pm8001_sas.h scsi: pm80xx: Remove unused reset_in_progress flag logic 2022-10-22 03:06:34 +00:00