+35
−54
Loading
stable inclusion from stable-v6.6.76 commit 487852a55a4817421907a2957718848efa4b6a85 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBW08Q Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=487852a55a4817421907a2957718848efa4b6a85 -------------------------------- [ Upstream commit d854b4b21de684a16a7d6163c7b0e9c5ff8a09d3 ] Kconfig accepts both "# CONFIG_FOO is not set" and "CONFIG_FOO=n" as a valid input, but conf_read_simple() duplicates similar code to handle them. Factor out the common code. Signed-off-by:Masahiro Yamada <masahiroy@kernel.org> Stable-dep-of: a409fc1463d6 ("kconfig: fix memory leak in sym_warn_unmet_dep()") Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit 487852a55a4817421907a2957718848efa4b6a85) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>