Re: [PATCH] KVM: x86: enable -Werror

From: Vitaly Kuznetsov
Date: Thu Feb 20 2020 - 08:44:09 EST


Paolo Bonzini <pbonzini@xxxxxxxxxx> writes:

> Avoid more embarrassing mistakes.

"avoid more" != "make less" :-)

> At least those that the compiler can catch.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
> arch/x86/kvm/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
> index b19ef421084d..4654e97a05cc 100644
> --- a/arch/x86/kvm/Makefile
> +++ b/arch/x86/kvm/Makefile
> @@ -1,6 +1,7 @@
> # SPDX-License-Identifier: GPL-2.0
>
> ccflags-y += -Iarch/x86/kvm
> +ccflags-y += -Werror
>
> KVM := ../../../virt/kvm

Reviewed-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>

--
Vitaly