diff options
author | Ye Guojin <[email protected]> | 2021-10-21 06:49:31 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-21 08:54:15 -0600 |
commit | ff06ed7e815ccd3f80cfd4d5dd30687bc722e871 (patch) | |
tree | e399f07acd1076e0b80d2cae863e5d6ce3ef3d98 /tools/perf/scripts/python/check-perf-trace.py | |
parent | cbab6ae0d0bd7459e53443c878b2a5355ac89426 (diff) |
block: aoe: fixup coccinelle warnings
coccicheck complains about the use of snprintf() in sysfs show
functions:
WARNING use scnprintf or sprintf
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Ye Guojin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions