diff options
author | ye xingchen <[email protected]> | 2022-12-05 19:18:56 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-07 20:02:44 -0800 |
commit | 16dc16d9f058dce7031ee8b850f10622b8b5fb14 (patch) | |
tree | b7e53a2082666e47ed2c5a9dc57161573db7aa0d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | cfbf877a338c202ace114f309a6dc0ef5cfb4ad1 (diff) |
net: ethernet: 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: ye xingchen <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions