diff options
author | Ye Guojin <ye.guojin@zte.com.cn> | 2021-10-21 06:49:31 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-21 08:54:15 -0600 |
commit | ff06ed7e815ccd3f80cfd4d5dd30687bc722e871 (patch) | |
tree | e399f07acd1076e0b80d2cae863e5d6ce3ef3d98 /tools/perf/scripts/python/export-to-postgresql.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 <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Link: https://lore.kernel.org/r/20211021064931.1047687-1-ye.guojin@zte.com.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions