[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5f31e38e-2f78-7919-7c60-a1761b9abb2e@redhat.com>
Date: Thu, 27 Feb 2020 07:41:50 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Michael Ellerman <mpe@...erman.id.au>,
Christoph Hellwig <hch@....de>, torvalds@...ux-foundation.org
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Revert "KVM: x86: enable -Werror"
On 27/02/20 04:33, Michael Ellerman wrote:
> We've had -Werror enabled by default on powerpc for over 10 years, and
> haven't had many complaints. Possibly that's just because no one builds
> powerpc kernels ...
I looked for other cases of -Werror being always on in Linux before
writing this patch. There are both unconditional cases and others like
PPC where it's governed by Kconfig.
I will add a Kconfig for now. It probably should be made global instead
of having a dozen different Kconfig symbols.
kvm_timer_init should be fixed, though.
Paolo
> The key thing is that it's configurable, so if it does break the build
> for someone they can just turn it off. It's also off by default for
> allyes/allmod builds because the user-selectable option disables
> -Werror, eg:
Powered by blists - more mailing lists