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

From: Greg KH
Date: Wed Nov 10 2021 - 03:10:51 EST


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