OSDN Git Service

KVM: x86: enable -Werror
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Feb 2020 19:15:29 +0000 (20:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Feb 2020 19:15:29 +0000 (20:15 +0100)
Avoid more embarrassing mistakes.  At least those that the compiler
can catch.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Makefile

index b19ef42..4654e97 100644 (file)
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 ccflags-y += -Iarch/x86/kvm
+ccflags-y += -Werror
 
 KVM := ../../../virt/kvm