679062c65b
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> |
||
---|---|---|
.. | ||
Makefile | ||
pm80xx_hwi.c | ||
pm80xx_hwi.h | ||
pm80xx_tracepoints.c | ||
pm80xx_tracepoints.h | ||
pm8001_chips.h | ||
pm8001_ctl.c | ||
pm8001_ctl.h | ||
pm8001_defs.h | ||
pm8001_hwi.c | ||
pm8001_hwi.h | ||
pm8001_init.c | ||
pm8001_sas.c | ||
pm8001_sas.h |