diff options
author | 2021-10-21 06:49:31 +0000 | |
---|---|---|
committer | 2021-10-21 08:54:15 -0600 | |
commit | ff06ed7e815ccd3f80cfd4d5dd30687bc722e871 (patch) | |
tree | e399f07acd1076e0b80d2cae863e5d6ce3ef3d98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'nvme-5.16-2021-10-21' of git://git.infradead.org/nvme into for-5.16/drivers (diff) | |
download | wireguard-linux-ff06ed7e815ccd3f80cfd4d5dd30687bc722e871.tar.xz wireguard-linux-ff06ed7e815ccd3f80cfd4d5dd30687bc722e871.zip |
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