KVM: x86: enable -Werror
Paolo Bonzini
maintainerPATCH 1/1 KVM: x86: enable -Werror
Avoid more embarrassing mistakes. At least those that the compiler can catch.
Signed-off-by Paolo Bonzini <[email protected]>
--- arch/x86/kvm/Makefile | 1 + 1 file changed, 1 insertion(+)
arch/x86/kvm/Makefile +1 -0
@@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 ccflags-y += -Iarch/x86/kvm +ccflags-y += -Werror KVM := ../../../virt/kvm
Signature · 1 line
1.8.3.1
Quoted 1 line · Paolo Bonzini
Avoid more embarrassing mistakes.
"avoid more" != "make less" :-)
Quoted 12 lines
At least those that the compiler can catch.
Signed-off-by Paolo Bonzini <[email protected]>--- arch/x86/kvm/Makefile | 1 + 1 file changed, 1 insertion(+)arch/x86/kvm/Makefile +0
-0
arch/x86/kvm/Makefile line 6
Quoted 6 lines
arch/x86/kvm/Makefile +1
-0@@ -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 <[email protected]>
Signature · 1 line
Vitaly
Quoted 5 lines · Vitaly Kuznetsov
Quoted 1 line · Paolo Bonzini
Avoid more embarrassing mistakes.
"avoid more" != "make less" :-)
Ha! "Fail the build so embarrassing mistakes are *really* emabarrassing". Where there's a will, there's a way. :-)