diff options
| author | Ye Guojin <[email protected]> | 2021-10-18 09:17:50 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-10-19 17:18:37 +0200 |
| commit | 33ce79be2784bb7c327ef0f3be184936238c91d3 (patch) | |
| tree | 6ae9b635c4d527fa586a1b22714a67152cade50f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 2d5b0755b754fcb39598df87b3a8656a569e9979 (diff) | |
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 <[email protected]>
Signed-off-by: Ye Guojin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions