Re: [PATCH] kconfig: Fix repeated include selftest expectation

From: Nicolas Schier

Date: Wed May 20 2026 - 09:27:10 EST


On Wed, 20 May 2026 15:08:00 +0800, Zhou Yuhang wrote:
> The err_repeated_inc test was added with an expected stderr fixture
> that does not match the diagnostic printed by kconfig.
>
> Running "make testconfig" currently fails in that test even though the
> parser reports the duplicated include correctly:
>
> [stderr]
> Kconfig.inc1:4: error: repeated inclusion of Kconfig.inc3
> Kconfig.inc2:3: note: location of first inclusion of Kconfig.inc3
>
> [...]

Applied to kbuild/linux.git (kbuild-fixes-unstable), thanks!

[1/1] kconfig: Fix repeated include selftest expectation
https://git.kernel.org/kbuild/c/e3658d2b

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-fixes-unstable branch are accepted pending wider testing in
linux-next and any post-commit review; they will generally be moved
to the kbuild-fixes branch in a week if no issues are found.

Best regards,
--
Nicolas