summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorHendrik Hamerlinck <hendrik.hamerlinck@hammernet.be>2025-06-23 16:09:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-24 15:40:19 +0100
commit4f4b2f13044d55190ac7963dc8ef563a39844548 (patch)
tree3fd7c70918580a543b55c8a56ec54011316c200f /tools/perf/scripts/python/check-perf-trace.py
parent711d41ab4a0e4230e394fd5da5b85604ddb9fc51 (diff)
usb: ehci: replace scnprintf() with sysfs_emit()
Per Documentation/filesystems/sysfs.rst, show() methods should only use sysfs_emit() or sysfs_emit_at() when formatting values to be returned to userspace. Convert the uses of scnprintf() in sysfs show() methods to sysfs_emit() and sysfs_emit_at() for better safety and consistency. Signed-off-by: Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be> Link: https://lore.kernel.org/r/20250623140950.61568-1-hendrik.hamerlinck@hammernet.be Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions