diff options
author | 2021-10-18 09:17:50 +0000 | |
---|---|---|
committer | 2021-10-19 17:18:37 +0200 | |
commit | 33ce79be2784bb7c327ef0f3be184936238c91d3 (patch) | |
tree | 6ae9b635c4d527fa586a1b22714a67152cade50f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: panasonic-laptop: Replace snprintf in show functions with sysfs_emit (diff) | |
download | wireguard-linux-33ce79be2784bb7c327ef0f3be184936238c91d3.tar.xz wireguard-linux-33ce79be2784bb7c327ef0f3be184936238c91d3.zip |
platform/x86: thinkpad_acpi: Fix 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/20211018091750.858826-1-ye.guojin@zte.com.cn
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions