aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLi Zhijian <[email protected]>2024-03-14 16:46:28 +0800
committerBorislav Petkov (AMD) <[email protected]>2024-04-04 18:23:57 +0200
commitd7518ad4ed0cc9e6a532149dcde924e63c133cfc (patch)
treee6555e9c7a4165a4768661abb47bba2adbf0c838 /tools/perf/util/trace-event-scripting.c
parentc8d37084e93fcd937d41b2df59e934a18ff6ae04 (diff)
EDAC/mc_sysfs: Convert sprintf()/snprintf() to sysfs_emit()
Per Documentation/filesystems/sysfs.rst, show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Generated by: make coccicheck M=<path/to/file> MODE=patch \ COCCI=scripts/coccinelle/api/device_attr_show.cocci No functional change intended. [ bp: Massage. ] Signed-off-by: Li Zhijian <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions