[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a8b903f83433c710fff6f80b5bd5353b9be663a9.camel@perches.com>
Date: Fri, 04 Nov 2022 07:33:39 -0700
From: Joe Perches <joe@...ches.com>
To: Lukas Bulwahn <lukas.bulwahn@...il.com>,
Liao Chang <liaochang1@...wei.com>
Cc: apw@...onical.com, dwaipayanray1@...il.com,
linux-kernel@...r.kernel.org, bagasdotme@...il.com,
pbonzini@...hat.com
Subject: Re: [PATCH -next v2] checkpatch: Add check for array allocator
family argument order
On Fri, 2022-11-04 at 09:35 +0100, Lukas Bulwahn wrote:
> On Fri, Nov 4, 2022 at 8:08 AM Liao Chang <liaochang1@...wei.com> wrote:
> >
> > These array allocator family are sometimes misused with the first and
> > second arguments switchted.
>
> Just a nit:
>
> s/switchted/switched/
>
> But probably you actually mean "swapped". I think there is a slight
> difference between the two words, "switched" and "swapped". And here
> the arguments are swapped. Note: I am also not a native speaker.
>
> For the implementation change:
>
> Acked-by: Lukas Bulwahn <lukas.bulwahn@...il.com>
>
> How many new findings are now identified with this extended check on
> linux-next? Could you run checkpatch on all files of linux-next and
> share the new findings? Then we can do a quick scan if some instances
> should be immediately fixed or some janitor should follow through with
> such a task.
There are ~25.
It's fairly trivial Lukas and only cosmetic.
https://lore.kernel.org/lkml/d92ada3062bc1c3a7557bfa0499fc4a8cee3aa10.camel@perches.com/
Powered by blists - more mailing lists