Re: [PATCH] kconfig: forbid multiple entries with the same symbol in a choice
From: Nicolas Schier
Date: Fri Apr 03 2026 - 15:16:47 EST
On Mon, 30 Mar 2026 20:57:35 +0900, Masahiro Yamada wrote:
> Commit 6a859f1a19d1 ("powerpc: unify two CONFIG_POWERPC64_CPU entries
> in the same choice block") removed the only occurrence of this tricky
> use case.
>
> Disallow this pattern in choice_check_sanity() and revert commit
> 4d46b5b623e0 ("kconfig: fix infinite loop in sym_calc_choice()").
>
> [...]
Applied to kbuild/linux.git (kbuild-next-unstable), thanks!
[1/1] kconfig: forbid multiple entries with the same symbol in a choice
https://git.kernel.org/kbuild/c/e967588a
Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers). Patches applied to the
kbuild-next-unstable branch are accepted pending wider testing in
linux-next and any post-commit review; they will generally be moved
to the kbuild-next branch in about a week if no issues are found.
Best regards,
--
Nicolas