[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YYt+lXdjBqX6YecN@kroah.com>
Date: Wed, 10 Nov 2021 09:11:01 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: cgel.zte@...il.com
Cc: valentina.manea.m@...il.com, shuah@...nel.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Jing Yao <yao.jing2@....com.cn>, Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] usbip: vudc: Replace snprintf in show functions with
sysfs_emit
On Wed, Nov 10, 2021 at 02:32:44AM +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.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Jing Yao <yao.jing2@....com.cn>
Again, same coments as on the staging driver change.
Powered by blists - more mailing lists