diff options
author | Ye Guojin <ye.guojin@zte.com.cn> | 2021-10-22 09:04:38 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-10-27 10:38:29 +0300 |
commit | d3c6daa174ff53b61215d8e67c85d466adf57cad (patch) | |
tree | ac2539a121fd87749e81ac8b39a36bb070a50b29 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5d44f0672319c19a41ff0e0e4f0d64164cf9752b (diff) |
libertas: replace snprintf in show functions with sysfs_emit
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211022090438.1065286-1-ye.guojin@zte.com.cn
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions