summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorAnkit Chauhan <ankitchauhan2065@gmail.com>2025-06-20 08:17:05 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-24 16:45:47 +0100
commit01c6d1df98cb4313e1a79ef5c064a485d3b271fd (patch)
tree86465a94df306535cc49571326f2391701cc595c /tools/perf/scripts/python/gecko.py
parentea6895f021c0716a280eff576d3f64f549187faa (diff)
misc: ocxl: Replace scnprintf() with sysfs_emit() in sysfs show functions
Replace scnprintf() with sysfs_emit() in sysfs show functions. These helpers are preferred in sysfs callbacks because they automatically handle buffer size and improve safety and readability. Signed-off-by: Ankit Chauhan <ankitchauhan2065@gmail.com> Acked-by: Andrew Donnellan <ajd@linux.ibm.com> Link: https://lore.kernel.org/r/20250620024705.11321-1-ankitchauhan2065@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions