[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YgT2TyST3OA3a4WC@hovoldconsulting.com>
Date: Thu, 10 Feb 2022 12:26:07 +0100
From: Johan Hovold <johan@...nel.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: davidcomponentone@...il.com,
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>,
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 v2] serial: 8259_aspeed_vuart: replace snprintf with
sysfs_emit
On Thu, Feb 10, 2022 at 01:13:28PM +0200, Andy Shevchenko wrote:
> On Thu, Feb 10, 2022 at 12:54 PM <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.
>
> sysfs_emit()
> scnprintf()
> sprintf()
>
> ...
>
> > CC: David Yang <davidcomponentone@...il.com>
>
> > - Use the CC for patch sender
>
> This is incorrect. The submitter must have (the last) SoB tag.
> Question was about authorship just to be clear.
Please fix up the subject prefix too ("8059").
Johan
Powered by blists - more mailing lists