[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VfQMkb0Ek6HG_FL+4OJV91=nd3QKjYFCobQPCt5PzdASA@mail.gmail.com>
Date: Wed, 9 Feb 2022 10:21:40 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: davidcomponentone@...il.com
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>,
Zev Weiss <zev@...ilderbeest.net>,
Johan Hovold <johan@...nel.org>,
Yang Guang <yang.guang5@....com.cn>,
"open list:SERIAL DRIVERS" <linux-serial@...r.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/ASPEED MACHINE SUPPORT"
<linux-aspeed@...ts.ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] serial: 8259: replace snprintf with sysfs_emit
On Wed, Feb 9, 2022 at 9:24 AM <davidcomponentone@...il.com> wrote:
>
> From: Yang Guang <yang.guang5@....com.cn>
>
> coccinelle report:
> ./drivers/tty/serial/8250/8250_aspeed_vuart.c:85:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/tty/serial/8250/8250_aspeed_vuart.c:174:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/tty/serial/8250/8250_aspeed_vuart.c:127:8-16:
> WARNING: use scnprintf or sprintf
>
> Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Subject should start with "serial: 8250_aspeed_vuart: "
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Yang Guang <yang.guang5@....com.cn>
> Signed-off-by: David Yang <davidcomponentone@...il.com>
Who is the author(s)?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists