Re: [PATCH] Documentation: warn users not to use select on choice options in Kconfig
From: Jani Nikula
Date: Wed Jul 29 2026 - 11:27:24 EST
On Thu, 16 Jul 2026, Julian Braha <julianbraha@xxxxxxxxx> wrote:
> Hi Kees,
>
> On 7/16/26 05:19, Kees Cook wrote:
>> Yeah, it'd be good to add a checkpatch or even build-time check too.
>
> I'll look into adding a check for this into the kconfig interpreter.
This. I wish there was a kconfig lint option that would whine about all
the things that kconfig-language.rst explicitly tells you *not* to use
select for. (So I could perhaps eventually stop replying to people with
that stuff.)
BR,
Jani.
--
Jani Nikula, Intel