]> git.itanic.dy.fi Git - linux-stable/commit
kconfig: require an exact match for "is not set" to disable CONFIG option
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 18 Nov 2023 07:59:11 +0000 (16:59 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 28 Nov 2023 02:22:51 +0000 (11:22 +0900)
commit4aced3ec84a848bd64bfd725e81c54eb31bf8b24
treec7007534cd03d66f202b14a5e850a62a71a370df
parent9925d6b7d12f5019d2a6c465ae72093101edbfd4
kconfig: require an exact match for "is not set" to disable CONFIG option

Currently, any string starting "is not set" disables a CONFIG option.

For example, "# CONFIG_FOO is not settled down" is accepted as valid
input, functioning the same as "# CONFIG_FOO is not set". It is a
long-standing oddity.

Check the line against the exact pattern "is not set".

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/confdata.c