diff options
author | Deepak R Varma <[email protected]> | 2022-12-09 01:41:43 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-01-11 21:53:34 -0500 |
commit | 679062c65b2c7824b5bf6cef9d286ef101466122 (patch) | |
tree | 61ee6ffa5c43e8a2a2a49c4f82955c6354ae2a7c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d058bea181887e2e05416c6bc1adc6e1d2798f3b (diff) |
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 <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions