aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2022-10-01 15:56:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-22 13:20:49 +0200
commit13cc02f115d010d078851fac7f347890e62c097d (patch)
tree5491deea74bfd7b59794ce2ff348cd501c897c33 /tools/perf/scripts/python/bin/stackcollapse-record
parentusb: ftdi-elan: remove variable err_count (diff)
downloadlinux-13cc02f115d010d078851fac7f347890e62c097d.tar.gz
linux-13cc02f115d010d078851fac7f347890e62c097d.zip
usbip: vudc: Convert snprintf() to sysfs_emit()
Coccinnelle reports a warning Warning: Use scnprintf or sprintf Following the advice on kernel documentation https://www.kernel.org/doc/html/latest/filesystems/sysfs.html For show(device *...) functions we should only use sysfs_emit() or sysfs_emit_at() especially when formatting the value to be returned to user space. Convert snprintf() to sysfs_emit() Signed-off-by: Jules Irenge <jules.irenge@postgrad.manchester.ac.uk> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/YzhVIaNGdM33pcts@octinomon Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions