aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2024-03-14 17:52:09 +0800
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-04-09 17:29:56 +0200
commitaaebea959efb2cccd870990f1b6016ff324b0fb6 (patch)
tree9c31f780c63547b3b6e16306f8cbea86bd948254 /tools/perf/scripts/python/task-analyzer.py
parents390/ap: rename ap debug configuration option (diff)
downloadwireguard-linux-aaebea959efb2cccd870990f1b6016ff324b0fb6.tar.xz
wireguard-linux-aaebea959efb2cccd870990f1b6016ff324b0fb6.zip
s390/cio: convert sprintf()/snprintf() to sysfs_emit()
Per filesystems/sysfs.rst, show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. coccinelle complains that there are still a couple of functions that use snprintf(). Convert them to sysfs_emit(). Generally, this patch is generated by make coccicheck M=<path/to/file> MODE=patch \ COCCI=scripts/coccinelle/api/device_attr_show.cocci No functional change intended. Cc: Vineeth Vijayan <vneethv@linux.ibm.com> Cc: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Link: https://lore.kernel.org/r/20240314095209.1325229-1-lizhijian@fujitsu.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions