[PATCH] KVM: x86: enable -Werror

From: Paolo Bonzini
Date: Wed Feb 12 2020 - 14:20:39 EST


Avoid more embarrassing mistakes. 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

--
1.8.3.1