diff options
author | Jiayi Li <lijiayi@kylinos.cn> | 2024-10-23 16:54:29 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-29 04:33:49 +0100 |
commit | c67e9601e29a636a14626707a7b2e5832ba71a75 (patch) | |
tree | 3acd54834fc87cc2dcadf5c842e89b233e275a33 /tools/perf/scripts/python/task-analyzer.py | |
parent | 33a0302455d664f18a4a65fd5a9997c0cef6bd39 (diff) |
usb: core: use sysfs_emit() instead of sprintf()
Follow the advice in Documentation/filesystems/sysfs.rst:
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
Signed-off-by: Jiayi Li <lijiayi@kylinos.cn>
Link: https://lore.kernel.org/r/20241023085429.2865488-1-lijiayi@kylinos.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions