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 scsi: pm80xx: Add tracepoints 2021-11-18 22:26:58 -05:00
pm80xx_hwi.c scsi: pm80xx: Remove unused reset_in_progress flag logic 2022-10-22 03:06:34 +00:00
pm80xx_hwi.h scsi: pm8001: Use libsas internal abort support 2022-03-14 23:33:24 -04:00
pm80xx_tracepoints.c scsi: pm80xx: Add tracepoints 2021-11-18 22:26:58 -05:00
pm80xx_tracepoints.h scsi: pm80xx: Add pm80xx_mpi_build_cmd() tracepoint 2021-11-18 22:26:58 -05:00
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 scsi: pm8001: Clean up white space 2021-04-12 23:21:26 -04:00
pm8001_defs.h scsi: pm80xx: Increase the number of outstanding I/O supported to 1024 2020-10-07 23:50:04 -04:00
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 scsi: pm8001: Use libsas internal abort support 2022-03-14 23:33:24 -04:00
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