Re: [PATCH] lib/test_printf.c: space required after that ','

From: Pavel Machek
Date: Mon Jun 19 2023 - 02:45:28 EST


On Wed 2023-06-14 18:16:36, Andy Shevchenko wrote:
> On Wed, Jun 14, 2023 at 11:06:40AM -0400, Steven Rostedt wrote:
> > On Wed, 14 Jun 2023 15:32:30 +0300
> > Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > > On Wed, Jun 14, 2023 at 04:30:55PM +0800, hexingwei001@xxxxxxxxxx wrote:
> > > > Add missing spaces to clear checkpatch errors:
> > > >
> > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV).
> > >
> > > Doesn't make any difference to the code, so let do this (unneeded) churn
> > > to calm checkpatch down.
> > >
> > > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> >
> > checkpatch is for patches (new code) and should not be run on existing code.
>
> Why does it have -f option? What do you propose to prevent people from using it?

Brain needs to be used while using checkpatch.

Plus, autosel is "great" trying to backport anything that mentions
"error", so better don't do this.

Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.

Attachment: signature.asc
Description: PGP signature