[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163456043468.24652.4752103758451442171.kvalo@codeaurora.org>
Date: Mon, 18 Oct 2021 12:34:02 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Qing Wang <wangqing@...o.com>
Cc: Jiri Slaby <jirislaby@...nel.org>,
Nick Kossifidis <mickflemm@...il.com>,
Luis Chamberlain <mcgrof@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Qing Wang <wangqing@...o.com>
Subject: Re: [PATCH] wireless: ath5k: replace snprintf in show functions with
sysfs_emit
Qing Wang <wangqing@...o.com> wrote:
> 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@...o.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
65b4b8aa0f59 ath5k: replace snprintf in show functions with sysfs_emit
--
https://patchwork.kernel.org/project/linux-wireless/patch/1634095651-4273-1-git-send-email-wangqing@vivo.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists