lkml.org 
[lkml]   [2005]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/9] kconfig: fix restart for choice symbols
Roman Zippel <zippel@linux-m68k.org> wrote:
>
>
> The restart check whether new symbols became visible, didn't always work
> for choice symbols.
>
> ...
> --- 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);

This makes `make allmodconfig' go into an infinite loop.


USB Gadget Drivers
Gadget Zero (DEVELOPMENT) (USB_ZERO) [M/n/?] m
Ethernet Gadget (with CDC Ethernet support) (USB_ETH) [M/n/?] m
RNDIS support (EXPERIMENTAL) (USB_ETH_RNDIS) [Y/n/?] y
Gadget Filesystem (EXPERIMENTAL) (USB_GADGETFS) [M/n/?] m
File-backed Storage Gadget (USB_FILE_STORAGE) [M/n/?] m
File-backed Storage Gadget testing version (USB_FILE_STORAGE_TEST) [Y/n/?] y
Serial Gadget (with CDC ACM support) (USB_G_SERIAL) [M/n/?] m
*
* Restart config...
*
*
* USB Gadget Support
*
Support for USB Gadgets (USB_GADGET) [M/n/y/?] m
Debugging information files (USB_GADGET_DEBUG_FILES) [Y/n/?] y
USB Peripheral Controller
> 1. NetChip 2280 (USB_GADGET_NET2280)
2. Toshiba TC86C001 'Goku-S' (USB_GADGET_GOKU) (NEW)
3. Dummy HCD (DEVELOPMENT) (USB_GADGET_DUMMY_HCD) (NEW)
choice[1-3?]: 1
USB Gadget Drivers
Gadget Zero (DEVELOPMENT) (USB_ZERO) [M/n/?] m
Ethernet Gadget (with CDC Ethernet support) (USB_ETH) [M/n/?] m
RNDIS support (EXPERIMENTAL) (USB_ETH_RNDIS) [Y/n/?] y
Gadget Filesystem (EXPERIMENTAL) (USB_GADGETFS) [M/n/?] m
File-backed Storage Gadget (USB_FILE_STORAGE) [M/n/?] m
File-backed Storage Gadget testing version (USB_FILE_STORAGE_TEST) [Y/n/?] y
Serial Gadget (with CDC ACM support) (USB_G_SERIAL) [M/n/?] m
*
* Restart config...
*
*
* USB Gadget Support
*
Support for USB Gadgets (USB_GADGET) [M/n/y/?] m
Debugging information files (USB_GADGET_DEBUG_FILES) [Y/n/?] y
USB Peripheral Controller
> 1. NetChip 2280 (USB_GADGET_NET2280)
2. Toshiba TC86C001 'Goku-S' (USB_GADGET_GOKU) (NEW)
3. Dummy HCD (DEVELOPMENT) (USB_GADGET_DUMMY_HCD) (NEW)
choice[1-3?]: 1
USB Gadget Drivers
Gadget Zero (DEVELOPMENT) (USB_ZERO) [M/n/?] m
Ethernet Gadget (with CDC Ethernet support) (USB_ETH) [M/n/?] m
RNDIS support (EXPERIMENTAL) (USB_ETH_RNDIS) [Y/n/?] y
Gadget Filesystem (EXPERIMENTAL) (USB_GADGETFS) [M/n/?] m
File-backed Storage Gadget (USB_FILE_STORAGE) [M/n/?] m
File-backed Storage Gadget testing version (USB_FILE_STORAGE_TEST) [Y/n/?] y
Serial Gadget (with CDC ACM support) (USB_G_SERIAL) [M/n/?] m
*
* Restart config...
*
*
* USB Gadget Support
*
Support for USB Gadgets (USB_GADGET) [M/n/y/?] m
Debugging information files (USB_GADGET_DEBUG_FILES) [Y/n/?] y
USB Peripheral Controller
> 1. NetChip 2280 (USB_GADGET_NET2280)
2. Toshiba TC86C001 'Goku-S' (USB_GADGET_GOKU) (NEW)
3. Dummy HCD (DEVELOPMENT) (USB_GADGET_DUMMY_HCD) (NEW)
choice[1-3?]: 1
USB Gadget Drivers
Gadget Zero (DEVELOPMENT) (USB_ZERO) [M/n/?] m
Ethernet Gadget (with CDC Ethernet support) (USB_ETH) [M/n/?] m
RNDIS support (EXPERIMENTAL) (USB_ETH_RNDIS) [Y/n/?] y
Gadget Filesystem (EXPERIMENTAL) (USB_GADGETFS) [M/n/?] m
File-backed Storage Gadget (USB_FILE_STORAGE) [M/n/?] m
File-backed Storage Gadget testing version (USB_FILE_STORAGE_TEST) [Y/n/?] y
Serial Gadget (with CDC ACM support) (USB_G_SERIAL) [M/n/?] m
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-05 07:10    [W:0.151 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site