diff options
| author | Nicolas Schier <nsc@kernel.org> | 2026-08-04 14:45:32 +0200 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-09-17 16:38:18 -0700 |
| commit | 47ef078cf9ad37a35b20094a824ec09b845532ff (patch) | |
| tree | 86c189ce671e97c1da28b626cc31d4c07c61444a /scripts/Makefile.vmlinux | |
| parent | b00c20e11bf2d7443fa5c3a81f3e09ee685a7a44 (diff) | |
| download | linux-next-47ef078cf9ad37a35b20094a824ec09b845532ff.tar.gz linux-next-47ef078cf9ad37a35b20094a824ec09b845532ff.zip | |
kconfig: Warn on dead select or imply for choice values
Update the internal kconfig check to print a warning on 'select' and
'imply' statements that target on choice values.
Julian Braha reported that kconfig's 'select' and 'imply' do not work
for choice values but have no effect all. Show a warning instead of
error-out to allow kconfig to check the whole kconfig rule set.
Reported-by: Julian Braha <julianbraha@gmail.com>
Closes: https://lore.kernel.org/linux-kbuild/20260715220149.48700-1-julianbraha@gmail.com/ # [1]
Suggested-by: Kees Cook <kees@kernel.org>
Suggested-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Julian Braha <julianbraha@gmail.com>
Tested-by: Julian Braha <julianbraha@gmail.com>
Link: https://patch.msgid.link/20260804-kconfig-warn-on-dead-select-for-choice-value-v1-1-e5c9a274d291@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts/Makefile.vmlinux')
0 files changed, 0 insertions, 0 deletions
