summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuis Soza Rodriguez <luistermc789@gmail.com>2026-03-09 17:05:07 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-18 16:48:48 +0100
commita11fdb9f58cc4bd7793b259ee73f984799753ba7 (patch)
tree1f8dc68e31384baefc595a4afb3e03803ce5fd03 /tools/perf/scripts/python
parente66cd5a8f2b48eb513867dcf0c3d25d8a405ec57 (diff)
staging: greybus: loopback: use sysfs_emit in sysfs show functions
As per the kernel's documentation, sysfs_emit() is the preferred way to format strings for sysfs attributes. It handles buffer overruns safely. Replace sprintf calls with sysfs_emit across all loopback sysfs show macros. Signed-off-by: Luis Soza Rodriguez <contact@sluisr.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/20260309230507.4931-1-contact@sluisr.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions