From: Roman Zippel Date: Sun, 9 Apr 2006 15:27:28 +0000 (+0200) Subject: kconfig: fix typo in change count initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5ac4817de3032796c558b0a32062e7392b5ea60;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git kconfig: fix typo in change count initialization Configuration needs saving when either of these conditions is true. Signed-off-by: Roman Zippel Signed-off-by: Sam Ravnborg --- diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 1b8882ddbc74..1b5df589f3ae 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -325,7 +325,7 @@ int conf_read(const char *name) sym->flags |= e->right.sym->flags & SYMBOL_NEW; } - sym_change_count = conf_warnings && conf_unsaved; + sym_change_count = conf_warnings || conf_unsaved; return 0; }