Re: [PATCH] init/Kconfig: Fix break in middle of EXPERT menu
From: Josh Triplett
Date: Tue May 12 2015 - 03:09:20 EST
On Tue, May 12, 2015 at 09:04:55AM +0200, Ingo Molnar wrote:
>
> * Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:
>
> > Commit e1abf2cc8d5 ("bpf: Fix the build on BPF_SYSCALL=y &&
> > !CONFIG_TRACING kernels, make it more configurable") made BPF_SYSCALL no
> > longer hidden with !EXPERT, but left it in the middle of the EXPERT
> > menu. menuconfig stops putting config items under a submenu once it
> > encounters an item that doesn't depend on the menu's config item, so
> > this caused the remainder of the EXPERT menu to spill out into the
> > containing menu around it. Fix by moving BPF_SYSCALL before the EXPERT
> > menu, next to BPF.
> >
> > Fixes: e1abf2cc8d5 ("bpf: Fix the build on BPF_SYSCALL=y && !CONFIG_TRACING kernels, make it more configurable")
> > Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> > ---
> >
> > Ingo, do you want to take this through -tip? Or should this go
> > through some other tree?
>
> I can pick it up, but -mm might be better suited for this, if you do:
Fair enough.
> > I'm also thinking about splitting the entire EXPERT menu into a
> > separate Kconfig.expert and including it from init/Kconfig, to make
> > it clear that everything in that menu should only be visible if
> > EXPERT. Right now, the long EXPERT menu blends into the longer
> > init/Kconfig, and issues like this happen every few kernel releases.
>
> That's a good idea as well.
I did so, in a patch later in this thread.
- Josh Triplett
--
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/