[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJBWK01h7xCO0olj@alley>
Date: Mon, 19 Jun 2023 15:20:43 +0200
From: Petr Mladek <pmladek@...e.com>
To: Pavel Machek <pavel@....cz>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Steven Rostedt <rostedt@...dmis.org>, hexingwei001@...suo.com,
senozhatsky@...omium.org, linux-kernel@...r.kernel.org,
linux@...musvillemoes.dk
Subject: Re: [PATCH] lib/test_printf.c: space required after that ','
On Mon 2023-06-19 08:45:22, Pavel Machek wrote:
> 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@...ux.intel.com> wrote:
> > > > On Wed, Jun 14, 2023 at 04:30:55PM +0800, hexingwei001@...suo.com 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@...ux.intel.com>
> > >
> > > 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.
I agree.
Also I agree with Sergey that these changes just complicate
backport.
I would prefer if people did not send these cosmetic "fixes".
> Plus, autosel is "great" trying to backport anything that mentions
> "error", so better don't do this.
Autosel is another tool which would deserve a human filter. Well, we have
it because of lack of resources...
I am surprised that checkpatch.po reports the missing space as an "ERROR"
in the first place.
Best Regards,
Petr
Powered by blists - more mailing lists