Messages in this thread | | | Subject | Re: [PATCH] libertas: replace snprintf in show functions with sysfs_emit | From | Kalle Valo <> | Date | Wed, 27 Oct 2021 07:38:41 +0000 (UTC) |
| |
cgel.zte@gmail.com wrote:
> From: Ye Guojin <ye.guojin@zte.com.cn> > > 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>
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
| |