[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163532031650.30745.4260926719614261494.kvalo@codeaurora.org>
Date: Wed, 27 Oct 2021 07:38:41 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: cgel.zte@...il.com
Cc: davem@...emloft.net, kuba@...nel.org, gregkh@...uxfoundation.org,
ye.guojin@....com.cn, yuehaibing@...wei.com,
libertas-dev@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] libertas: replace snprintf in show functions with
sysfs_emit
cgel.zte@...il.com wrote:
> From: Ye Guojin <ye.guojin@....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@....com.cn>
> Signed-off-by: Ye Guojin <ye.guojin@....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
Powered by blists - more mailing lists