[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YYkHdbjKFTiSlfNj@salvia>
Date: Mon, 8 Nov 2021 12:18:13 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: cgel.zte@...il.com
Cc: kadlec@...filter.org, fw@...len.de, davem@...emloft.net,
kuba@...nel.org, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Jing Yao <yao.jing2@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] netfilter: xt_IDLETIMER: replace snprintf in show
functions with sysfs_emit
On Thu, Nov 04, 2021 at 11:49:11AM +0000, cgel.zte@...il.com wrote:
> From: Jing Yao <yao.jing2@....com.cn>
>
> coccicheck complains about the use of snprintf() in sysfs show
> functions:
> WARNING use scnprintf or sprintf
>
> Use sysfs_emit instead of scnprintf, snprintf or sprintf makes more
> sense.
Applied, thanks.
Powered by blists - more mailing lists