Skip to contentSkip to conversation

KVM: x86: enable -Werror

PATCH In review Paolo Bonzini 3 participants 3 messages Feb 12, 2020 – Feb 20, 2020

Subsystems (3)
lore
Share & tools
lore

Paolo Bonzini

author maintainer
#0 lore raw

PATCH 1/1 KVM: x86: enable -Werror

Avoid more embarrassing mistakes. At least those that the compiler can catch.

---
 arch/x86/kvm/Makefile | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kvm/Makefile +1 -0
index b19ef421084d..4654e97a05cc 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Paolo Bonzini

Avoid more embarrassing mistakes.

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

Quoted 12 lines

At least those that the compiler can catch.

---
 arch/x86/kvm/Makefile | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kvm/Makefile +0 -0
index b19ef421084d..4654e97a05cc 100644

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
Signature · 1 line
Vitaly
#2 lore raw
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. :-)