[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84f8504924380fc6380216d03d28a2285e3d106e.camel@perches.com>
Date: Thu, 05 Mar 2020 08:01:02 -0800
From: Joe Perches <joe@...ches.com>
To: John Garry <john.garry@...wei.com>
Cc: Mark Brown <broonie@...nel.org>,
linux-spi <linux-spi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] spi: Remove CONFIG_ prefix from Kconfig select
On Thu, 2020-03-05 at 15:53 +0000, John Garry wrote:
> On 05/03/2020 15:15, Joe Perches wrote:
> > commit a2ca53b52e00 ("spi: Add HiSilicon v3xx SPI NOR flash
> > controller driver") likely inadvertently used a select statement
> > with a CONFIG_ prefix, remove the prefix.
> >
> > Signed-off-by: Joe Perches <joe@...ches.com>
>
> It's a pity checkpatch can't pick this stuff up...
You are free to write a rule and submit a patch.
The grammar is pretty hard to verify from a patch
fragment though.
There are 2 existing nominal false positives.
$ git grep 'select\b.*\bCONFIG_' -- '*/Kconfig*'
drivers/edac/Kconfig: select CONFIG_ACPI_NFIT.
drivers/edac/Kconfig: select CONFIG_ACPI_NFIT.
Powered by blists - more mailing lists