Re: [PATCH v2] kconfig: add optional warnings for changed input values
From: Nathan Chancellor
Date: Wed May 27 2026 - 18:46:35 EST
On Thu, 21 May 2026 10:28:24 +0800, Pengpeng Hou <pengpeng@xxxxxxxxxxx> wrote:
> [...]
> menu nodes cannot emit duplicate warnings.
>
> Document the new environment variable and add tests for both olddefconfig
> and savedefconfig.
>
> Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
I like the idea behind this patch a lot, as I have often wished for a
warning like this up front for non-interactive Kconfig validation when
updating configurations using scripts/config. However, one problem that
I noticed in testing is the warning does not get printed to stderr, so
it is hidden when using 'make -s'. I think this should be addressed
before acceptance since warnings should be visible with 'make -s' still.
--
Cheers,
Nathan