diff options
author | Qing Wang <wangqing@vivo.com> | 2021-10-12 20:27:31 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-10-18 15:33:42 +0300 |
commit | 65b4b8aa0f59ec34508b262cdd0f8d731a09a074 (patch) | |
tree | a64a86ec42371417afc997f83c54efb1940becda /tools/perf/scripts/python/libxed.py | |
parent | 0a491167fe0cf9f26062462de2a8688b96125d48 (diff) |
ath5k: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show functions.
Fix the coccicheck warning:
WARNING: use scnprintf or sprintf.
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Signed-off-by: Qing Wang <wangqing@vivo.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1634095651-4273-1-git-send-email-wangqing@vivo.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions