Re: [PATCH v4] checkpatch: warn on uppercase N/Y/M as Kconfig tristate literals
From: Joe Perches
Date: Wed May 27 2026 - 10:50:58 EST
On Wed, 2026-05-27 at 09:25 -0500, Andrew Jones wrote:
> Kconfig tristate literals are always lowercase ('n', 'y', 'm') and
> uppercase N/Y/M are not Kconfig reserved words. Since undefined
> symbols evaluate to 'n', writing 'default Y' or 'default M' silently
> produces 'n' instead of 'y'/'m'. 'default N' happens to produce the
> right value but is still invalid syntax.
[]
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=216748 [1]
Unless I misread the bug report:
All this for something that happened once and
when it happened was benign?