On Thu, Oct 1, 2020 at 4:01 PM Vitaly Kuznetsov <[email protected]> wrote:
>
> Matteo Croce <[email protected]> writes:
>
> > From: Matteo Croce <[email protected]>
> >
> > Let KVM_WERROR depend on KVM, so it doesn't show in menuconfig alone.
> >
> > Signed-off-by: Matteo Croce <[email protected]>
>
> I'd even say
>
> Fixes: 4f337faf1c55e ("KVM: allow disabling -Werror")
>

Indeed, thanks

> > ---
> >  arch/x86/kvm/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
> > index fbd5bd7a945a..f92dfd8ef10d 100644
> > --- a/arch/x86/kvm/Kconfig
> > +++ b/arch/x86/kvm/Kconfig
> > @@ -66,6 +66,7 @@ config KVM_WERROR
> >       default y if X86_64 && !KASAN
> >       # We use the dependency on !COMPILE_TEST to not be enabled
> >       # blindly in allmodconfig or allyesconfig configurations
> > +     depends on KVM
> >       depends on (X86_64 && !KASAN) || !COMPILE_TEST
> >       depends on EXPERT
> >       help
>
> Reviewed-by: Vitaly Kuznetsov <[email protected]>
>
> --
> Vitaly
>


-- 
per aspera ad upstream

Reply via email to