Home
last modified time | relevance | path

Searched hist:"65 b4b8aa0f59ec34508b262cdd0f8d731a09a074" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dsysfs.cdiff 65b4b8aa0f59ec34508b262cdd0f8d731a09a074 Tue Oct 12 22:27:31 CDT 2021 Qing Wang <wangqing@vivo.com> 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