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

Greg KH gregkh at linuxfoundation.org
Wed Nov 10 19:10:46 AEDT 2021

On Wed, Nov 10, 2021 at 02:40:28AM +0000, cgel.zte at gmail.com wrote:
> From: Jing Yao <yao.jing2 at zte.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.

Same subject and changelog comments as the staging driver change you
sent in :(

More information about the Linux-aspeed mailing list