Re: [patch] MTD: fix DOC2000/2001/2001PLUS build error

From: Russell King
Date: Mon Feb 05 2007 - 11:51:22 EST


On Mon, Feb 05, 2007 at 08:32:50AM -0800, Linus Torvalds wrote:
> If "X" then needs Y, Z and something else to actually compile, then that
> Kconfig file should DAMN WELL use "select". Stop claiming anything else!

Disagree. The UI app should handle this and ask the user if it's okay
to proceed to enable that option along with the others.

All we should be doing in the Kconfig files is describing the
dependencies for user-visible symbols. If we want to allow the
user to enable something, it's up to the UI _itself_ to sort out the
dependencies.

Principle of least surprise. Principle of giving the user control.

As I say at the moment throwing "select" is just moving the bloody
problem around. It's not actually _solving_ anything, and anyone
who thinks otherwise is a nutcase!

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/