summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-10 19:45:43 +0300
committerJens Axboe <axboe@kernel.dk>2023-06-07 23:26:32 +0300
commit3bb5746c26cdfcc354af4867c02f1e0ec1131a62 (patch)
tree78649a84ad24542142c6ad884db3598bf6b25fd6 /tools/perf/scripts/python
parent1a0ddd56e545b743af510b5a1b8dbdfe7d35cd3b (diff)
downloadlinux-3bb5746c26cdfcc354af4867c02f1e0ec1131a62.tar.xz
pktcdvd: use sysfs_emit() to instead of scnprintf()
Follow the advice of the Documentation/filesystems/sysfs.rst and show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20230310164549.22133-4-andriy.shevchenko@linux.intel.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions