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

[PATCH] serial: 8250_aspeed_vuart: Replace snprintf in show functions with sysfs_emit

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-11-10 08:10:51
Also in: linux-arm-kernel, linux-serial, lkml

On Wed, Nov 10, 2021 at 02:40:28AM +0000, cgel.zte at 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.
Same subject and changelog comments as the staging driver change you
sent in :(
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help