Re: [PATCH] Documentation: warn users not to use select on choice options in Kconfig
Jani Nikula <[email protected]> Wed, 29 Jul 2026 18:10:04 +0300
| Newsgroups | gmane.linux.kbuild.devel,gmane.linux.kernel,gmane.linux.documentation |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland |
| Message-ID | <[email protected]> |
On Thu, 16 Jul 2026, Julian Braha <[email protected]> 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