Thread (2 messages) 2 messages, 2 authors, 2021-10-27

Re: [PATCH] libertas: replace snprintf in show functions with sysfs_emit

From: Kalle Valo <hidden>
Date: 2021-10-27 07:38:59
Also in: lkml, netdev

cgel.zte@gmail.com wrote:
From: Ye Guojin <redacted>

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 <redacted>
Signed-off-by: Ye Guojin <redacted>
Patch applied to wireless-drivers-next.git, thanks.

d3c6daa174ff libertas: replace snprintf in show functions with sysfs_emit

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20211022090438.1065286-1-ye.guojin@zte.com.cn/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help