2 Jan 2011 20:59
kconfig: fix undesirable side effect of adding "visible" menu attribute
Linux Kernel Mailing List <linux-kernel <at> vger.kernel.org>
2011-01-02 19:59:01 GMT
2011-01-02 19:59:01 GMT
Gitweb: http://git.kernel.org/linus/7ad1227818f09242cfe9bf1845fd24211f5f99bd Commit: 7ad1227818f09242cfe9bf1845fd24211f5f99bd Parent: 307991055b0ce65d53dc1eb501c456c10eb36360 Author: Jan Beulich <JBeulich <at> novell.com> AuthorDate: Thu Dec 9 08:11:38 2010 +0000 Committer: Michal Marek <mmarek <at> suse.cz> CommitDate: Wed Dec 29 23:31:34 2010 +0100 kconfig: fix undesirable side effect of adding "visible" menu attribute This lead to non-selected, non-user-selectable options to be written out to .config. This is not only pointless, but also preventing the user to be prompted should any of those options eventually become visible (e.g. by de-selecting the *_AUTO options the "visible" attribute was added for. Furthermore it is quite logical for the "visible" attribute of a menu to control the visibility of all contained prompts, which is what the patch does. Signed-off-by: Jan Beulich <jbeulich <at> novell.com> Signed-off-by: Michal Marek <mmarek <at> suse.cz> --- scripts/kconfig/menu.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index b9d9aa1..5f77dcb 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c(Continue reading)
RSS Feed