login
Header Space

 
 

Re: Ingo, no more kconfig patches

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Dmitry Torokhov <dmitry.torokhov@...>, <linux-kernel@...>, Rafael J. Wysocki <rjw@...>, Andrew Morton <akpm@...>
Date: Saturday, May 3, 2008 - 3:14 pm

* Adrian Bunk <bunk@stusta.de> wrote:


i didnt. Read what i wrote:

|| no, you are wrong, read the current Kconfig rules again. If the user 
|| can create a .config that does not build, it is driver breakage. It 
|| always was, and has been in the past 15 years.
||
|| Kconfig might be extended to make dependencies easier to manage for 
|| developers but until that is implemented you have to craft your 
|| driver's dependencies with the current tools in a way that doesnt 
|| break the build.

and that's exactly what happens with Roman's patch: a Kconfig subsystem 
design bug (its inability to properly propagate the dependencies of 
select's) is worked around in the driver space: by the LEDS_CORE driver 
config introduction and no user-visible.

Roman's patch is obviously cleaner than my hack (i just fixed a single 
instantiation of the problem, while he changed the LEDS driver 
dependency structure), but it's still a workaround for a Kconfig 
subsystem bug and the same problem could reoccur elsewhere. It could hit 
anytime dual dependencies are introduced in a driver accidentally.

As Sam said it, fixing that Kconfig design bug would be "nice" - but 
unfortunately the Kconfig subsystem is not actively developed anymore. 
Would you like to volunteer for that? It would be a _very_ useful 
contribution. One such fix could avoid hundreds or even thousands of 
trivial problems in the future - it could avoid having to make hundreds 
or thousands of trivial patches in the future.

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

Messages in current thread:
[patch] input: JOYSTICK_XPAD build fix, Ingo Molnar, (Wed Apr 30, 4:03 pm)
Re: [patch] input: JOYSTICK_XPAD build fix, Dmitry Torokhov, (Wed Apr 30, 5:02 pm)
Re: [patch] input: JOYSTICK_XPAD build fix, Ingo Molnar, (Wed Apr 30, 5:13 pm)
Ingo, no more kconfig patches, Adrian Bunk, (Wed Apr 30, 7:01 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Wed Apr 30, 10:52 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Thu May 1, 7:59 am)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 3:14 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 4:24 pm)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sat May 3, 5:17 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 5:47 pm)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sat May 3, 6:13 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 6:29 pm)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sat May 3, 7:37 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 8:49 pm)
Re: Ingo, no more kconfig patches, Krzysztof Halasa, (Sun May 4, 8:18 am)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 5:03 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 5:24 pm)
Re: Ingo, no more kconfig patches, Thomas Gleixner, (Sat May 3, 7:22 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 8:34 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 5:52 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 6:03 pm)
Re: Ingo, no more kconfig patches, , (Sat May 3, 11:54 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sun May 4, 3:47 am)
Re: Ingo, no more kconfig patches, Sam Ravnborg, (Sat May 3, 5:38 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sat May 3, 6:07 pm)
Re: Ingo, no more kconfig patches, Sam Ravnborg, (Sun May 4, 3:36 am)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Sun May 4, 3:49 am)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Sat May 3, 3:17 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Wed Apr 30, 9:17 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Wed Apr 30, 9:37 pm)
Re: Ingo, no more kconfig patches, Ingo Molnar, (Wed Apr 30, 10:06 pm)
Re: Ingo, no more kconfig patches, Adrian Bunk, (Wed Apr 30, 10:12 pm)
speck-geostationary