Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 )

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matt Mackall <mpm@...>
Cc: Jarek Poplawski <jarkao2@...>, Gabriel C <nix.or.die@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <netdev@...>, <jason.wessel@...>, <amitkale@...>
Date: Thursday, August 2, 2007 - 5:36 am

> > 

select is evil....
select will by brute force set a symbol equal to 'y' without
visiting the dependencies.
So abusing select you are able to select a symbol FOO even 
if FOO depends on BAR that is not set.

In general use select only for non-visible symbols (no promts anywhere)
and for symbols with no dependencies.
That will limit the suefullness but on the other hand avoid the illegal
configurations all over.

kconfig should one day warn about such things but I have not fel inclined
to dive into the matters hoping that Roman does one day.

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23-rc1-mm1, Andrew Morton, (Wed Jul 25, 7:03 am)
Re: 2.6.23-rc1-mm1, Grant Wilson, (Sun Jul 29, 11:49 am)
Re: 2.6.23-rc1-mm1, Dave Young, (Mon Jul 30, 5:58 am)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Mon Jul 30, 2:27 pm)
Re: 2.6.23-rc1-mm1, Christoph Hellwig, (Mon Jul 30, 2:42 pm)
Re: 2.6.23-rc1-mm1, Satyam Sharma, (Mon Jul 30, 6:18 pm)
Re: 2.6.23-rc1-mm1, Dave Young, (Mon Jul 30, 9:21 pm)
[-mm patch] security/ cleanups, Adrian Bunk, (Sun Jul 29, 11:00 am)
Re: [-mm patch] security/ cleanups, James Morris, (Mon Jul 30, 7:47 am)
[-mm patch] make struct sdio_dev_attrs[] static, Adrian Bunk, (Sun Jul 29, 10:58 am)
Re: [-mm patch] make struct sdio_dev_attrs[] static, Pierre Ossman, (Sun Jul 29, 3:29 pm)
[-mm patch] kernel/pid.c: remove unused exports, Adrian Bunk, (Sun Jul 29, 10:59 am)
[-mm patch] make scsi_host_link_pm_policy() static, Adrian Bunk, (Sun Jul 29, 10:58 am)
Re: [-mm patch] USB: make dev_attr_authorized_default static, Inaky Perez-Gonzalez, (Tue Jul 31, 3:13 pm)
[-mm patch] export v4l2_int_device_{,un}register, Adrian Bunk, (Sun Jul 29, 10:59 am)
[-mm patch] kernel/printk.c: make 2 variables static, Adrian Bunk, (Sun Jul 29, 10:59 am)
Re: [-mm patch] kernel/printk.c: make 2 variables static, Randy Dunlap, (Sun Jul 29, 12:51 pm)
[-mm patch] MTD onenand_sim.c: make struct info static, Adrian Bunk, (Sun Jul 29, 10:58 am)
[-mm patch] fs/ecryptfs/: make code static, Adrian Bunk, (Sun Jul 29, 10:57 am)
[-mm patch] make hugetlbfs_read() static, Adrian Bunk, (Sun Jul 29, 10:57 am)
[PATCH -mm] Fix libata warnings with CONFIG_PM=n, Gabriel C, (Sat Jul 28, 3:32 pm)
mm/sparse.c compile error ( Re: 2.6.23-rc1-mm1 ), Gabriel C, (Sat Jul 28, 1:07 pm)
Re: mm/sparse.c compile error ( Re: 2.6.23-rc1-mm1 ), Andrew Morton, (Sat Jul 28, 1:30 pm)
Re: mm/sparse.c compile error ( Re: 2.6.23-rc1-mm1 ), Andy Whitcroft, (Mon Jul 30, 8:16 am)
Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-..., Sam Ravnborg, (Thu Aug 2, 5:36 am)
[PATCH] docs: note about select in kconfig-language.txt, Jarek Poplawski, (Mon Aug 6, 7:51 am)
[-mm patch] xtensa console.c: remove duplicate #include, Frederik Deweerdt, (Fri Jul 27, 9:28 am)
Re: 2.6.23-rc1-mm1 sparsemem_vmemamp fix., KAMEZAWA Hiroyuki, (Thu Jul 26, 8:58 am)
Re: 2.6.23-rc1-mm1 sparsemem_vmemamp fix., Andy Whitcroft, (Thu Jul 26, 10:39 am)
Re: 2.6.23-rc1-mm1 sparsemem_vmemamp fix., Andy Whitcroft, (Thu Jul 26, 10:44 am)
[-mm patch] DMA engine kconfig improvements, Adrian Bunk, (Thu Jul 26, 1:26 am)
RE: [-mm patch] DMA engine kconfig improvements, Nelson, Shannon, (Wed Aug 15, 7:36 pm)
Re: [-mm patch] DMA engine kconfig improvements, Dan Williams, (Fri Aug 3, 10:15 pm)
Re: [-mm patch] DMA engine kconfig improvements, Adrian Bunk, (Thu Aug 9, 8:43 pm)
2.6.23-rc1-mm1: git-kgdb breaks sh compilation, Adrian Bunk, (Wed Jul 25, 5:17 pm)
Re: 2.6.23-rc1-mm1: git-kgdb breaks sh compilation, Paul Mundt, (Wed Jul 25, 9:45 pm)
2.6.23-rc1-mm1: m32r is_init() compile error, Adrian Bunk, (Wed Jul 25, 5:01 pm)
Re: 2.6.23-rc1-mm1, Michal Piotrowski, (Wed Jul 25, 2:48 pm)
Re: 2.6.23-rc1-mm1, Sam Ravnborg, (Wed Jul 25, 2:53 pm)
Re: 2.6.23-rc1-mm1, H. Peter Anvin, (Wed Jul 25, 3:18 pm)
Re: 2.6.23-rc1-mm1, Gabriel C, (Wed Jul 25, 4:58 pm)
Re: 2.6.23-rc1-mm1, Gabriel C, (Wed Jul 25, 5:05 pm)
Re: 2.6.23-rc1-mm1, Greg KH, (Wed Jul 25, 8:07 pm)
Re: 2.6.23-rc1-mm1, Dave Hansen, (Thu Jul 26, 4:18 pm)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Wed Jul 25, 8:28 pm)
Re: 2.6.23-rc1-mm1, Dave Young, (Wed Jul 25, 9:55 pm)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Wed Jul 25, 10:23 pm)
Re: 2.6.23-rc1-mm1, H. Peter Anvin, (Wed Jul 25, 5:11 pm)
Re: 2.6.23-rc1-mm1, Gabriel C, (Wed Jul 25, 5:13 pm)
Re: 2.6.23-rc1-mm1, Sam Ravnborg, (Wed Jul 25, 3:21 pm)
2.6.23-rc1-mm1: reiser4 &lt;-&gt; lzo compile error, Adrian Bunk, (Wed Jul 25, 2:22 pm)
Re: 2.6.23-rc1-mm1: reiser4 &lt;-&gt; lzo compile error, Edward Shishkin, (Fri Jul 27, 8:35 am)
Re: 2.6.23-rc1-mm1: reiser4 &lt;-&gt; lzo compile error, Richard Purdie, (Fri Jul 27, 11:11 am)
Re: 2.6.23-rc1-mm1: reiser4 &lt;-&gt; lzo compile error, Edward Shishkin, (Wed Jul 25, 2:44 pm)
2.6.23-rc1-mm1: net/ipv4/fib_trie.c compile error, Adrian Bunk, (Wed Jul 25, 2:15 pm)
Re: 2.6.23-rc1-mm1 -- mostly fails to build, Andy Whitcroft, (Wed Jul 25, 12:36 pm)
Re: 2.6.23-rc1-mm1 -- mostly fails to build, Andy Whitcroft, (Wed Jul 25, 6:41 pm)
Re: 2.6.23-rc1-mm1 -- mostly fails to build, Andrew Morton, (Thu Jul 26, 1:56 am)
Re: 2.6.23-rc1-mm1 -- mostly fails to build, Yinghai Lu, (Thu Jul 26, 1:53 pm)
2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error, Adrian Bunk, (Wed Jul 25, 2:06 pm)
Re: 2.6.23-rc1-mm1: SCSI_SRP_ATTRS compile error, FUJITA Tomonori, (Thu Jul 26, 6:49 am)
Re: 2.6.23-rc1-mm1 -- mostly fails to build, Sam Ravnborg, (Wed Jul 25, 1:04 pm)
Re: 2.6.23-rc1-mm1, Michal Piotrowski, (Wed Jul 25, 12:32 pm)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Wed Jul 25, 5:56 pm)
Re: 2.6.23-rc1-mm1, Cedric Le Goater, (Wed Jul 25, 8:55 am)
Re: 2.6.23-rc1-mm1: chipsfb_pci_suspend problem, Rafael J. Wysocki, (Wed Jul 25, 9:48 am)
Re: 2.6.23-rc1-mm1: chipsfb_pci_suspend problem, Andrew Morton, (Wed Jul 25, 4:22 pm)
Re: 2.6.23-rc1-mm1: chipsfb_pci_suspend problem, Pavel Machek, (Wed Jul 25, 6:45 pm)
Re: 2.6.23-rc1-mm1, Cedric Le Goater, (Wed Jul 25, 8:40 am)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Wed Jul 25, 4:05 pm)
Re: 2.6.23-rc1-mm1, Cedric Le Goater, (Wed Jul 25, 8:25 am)
Re: 2.6.23-rc1-mm1, Len Brown, (Wed Jul 25, 1:23 pm)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Wed Jul 25, 2:58 pm)
Re: 2.6.23-rc1-mm1, Len Brown, (Wed Jul 25, 7:26 pm)
Re: 2.6.23-rc1-mm1, Mel Gorman, (Thu Jul 26, 5:41 am)
Re: 2.6.23-rc1-mm1, Cedric Le Goater, (Thu Jul 26, 9:53 am)
Re: 2.6.23-rc1-mm1, Torsten Kaiser, (Wed Jul 25, 3:13 pm)
Re: 2.6.23-rc1-mm1, Torsten Kaiser, (Wed Jul 25, 4:22 pm)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Wed Jul 25, 4:36 pm)
Re: 2.6.23-rc1-mm1, Torsten Kaiser, (Wed Jul 25, 5:52 pm)
Re: 2.6.23-rc1-mm1, Andrew Morton, (Thu Jul 26, 3:25 am)
Re: 2.6.23-rc1-mm1, Torsten Kaiser, (Thu Jul 26, 1:54 pm)
Re: 2.6.23-rc1-mm1, Torsten Kaiser, (Sat Jul 28, 10:03 am)