kconfig: correct oldconfig for unset choice options

oldconfig currently ignores unset choice options and doesn't ask for them.
Correct the SYMBOL_DEF_USER flag of the choice symbol to be only set if
it's set for all values.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

authored by Roman Zippel and committed by Sam Ravnborg 002d27b1 eb2cafa1

+1 -1
+1 -1
scripts/kconfig/confdata.c
··· 357 for (e = prop->expr; e; e = e->left.expr) 358 if (e->right.sym->visible != no) 359 flags &= e->right.sym->flags; 360 - sym->flags |= flags & SYMBOL_DEF_USER; 361 } 362 363 sym_change_count += conf_warnings || conf_unsaved;
··· 357 for (e = prop->expr; e; e = e->left.expr) 358 if (e->right.sym->visible != no) 359 flags &= e->right.sym->flags; 360 + sym->flags &= flags | ~SYMBOL_DEF_USER; 361 } 362 363 sym_change_count += conf_warnings || conf_unsaved;