[PATCH 2/9] kconfig: fix restart for choice symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Roman Zippel <[email protected]>

---

 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux