Thread (2 messages) flat view 2 messages, 2 authors, 2021-11-10

Re: [PATCH] usbip: vudc: Replace snprintf in show functions with sysfs_emit

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-11-10 08:11:06
Also in: lkml

On Wed, Nov 10, 2021 at 02:32:44AM +0000, cgel.zte@gmail.com wrote:
From: Jing Yao <redacted>

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 <redacted>
Signed-off-by: Jing Yao <redacted>
Again, same coments as on the staging driver change.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help