mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/9] kconfig: fix restart for choice symbols
@ 2005-11-03 15:06 Roman Zippel
  2005-11-05  6:05 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Zippel @ 2005-11-03 15:06 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel


The restart check whether new symbols became visible, didn't always work 
for choice symbols.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>

---

 scripts/kconfig/conf.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6/scripts/kconfig/conf.c
===================================================================
--- linux-2.6.orig/scripts/kconfig/conf.c	2005-11-03 13:19:34.000000000 +0100
+++ linux-2.6/scripts/kconfig/conf.c	2005-11-03 13:22:59.000000000 +0100
@@ -468,7 +468,8 @@ static void check_conf(struct menu *menu
 
 	sym = menu->sym;
 	if (sym) {
-		if (sym_is_changable(sym) && !sym_has_value(sym)) {
+		if ((sym_is_changable(sym) || sym_is_choice(sym)) &&
+		    !sym_has_value(sym)) {
 			if (!conf_cnt++)
 				printf(_("*\n* Restart config...\n*\n"));
 			rootEntry = menu_get_parent_menu(menu);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-07 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-03 15:06 [PATCH 2/9] kconfig: fix restart for choice symbols Roman Zippel
2005-11-05  6:05 ` Andrew Morton
2005-11-07 11:53   ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®