Skip to contentSkip to conversation

KVM: fix Kconfig menu text for -Werror

PATCH Superseded Jason A. Donenfeld 3 participants 4 messages Mar 4, 2020 – Mar 5, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: fix Kconfig menu text for -Werror

This was evidently copy and pasted from the i915 driver, but the text wasn't updated.

Fixes 4f337faf1c55 ("KVM: allow disabling -Werror")
---
 arch/x86/kvm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/Kconfig +1 -1
index 1bb4927030af..29bd4dc3363e 100644
@@ -68,7 +68,7 @@ config KVM_WERROR
 	depends on (X86_64 && !KASAN) || !COMPILE_TEST
 	depends on EXPERT
 	help
-	  Add -Werror to the build flags for (and only for) i915.ko.
+	  Add -Werror to the build flags for kvm.ko.
 
 	  If in doubt, say "N".
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 14 lines · Jason A. Donenfeld

This was evidently copy and pasted from the i915 driver, but the text wasn't updated.

Fixes 4f337faf1c55 ("KVM: allow disabling -Werror")
---
 arch/x86/kvm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/Kconfig +0 -0
index 1bb4927030af..29bd4dc3363e 100644

arch/x86/kvm/Kconfig config KVM_WERROR · line 71

Quoted 5 lines
arch/x86/kvm/Kconfig +1 -1
@@ -68,7 +68,7 @@ config KVM_WERROR
 	depends on (X86_64 && !KASAN) || !COMPILE_TEST
 	depends on EXPERT
 	help
-	  Add -Werror to the build flags for (and only for) i915.ko.
+	  Add -Werror to the build flags for kvm.ko.

The -Werror flag also gets used when compiling kvm-intel.ko and kvm-amd.ko as separate modules, as well as when KVM is built into the kernel and there is no kvm.ko. Probably easiest to simply say "for KVM".

Quoted 6 lines
arch/x86/kvm/Kconfig +0 -0
 	  If in doubt, say "N".
 
Signature · 1 line
2.25.1
#2 lore raw

PATCH v2 1/1 KVM: fix Kconfig menu text for -Werror

This was evidently copy and pasted from the i915 driver, but the text wasn't updated.

Fixes 4f337faf1c55 ("KVM: allow disabling -Werror")
---
 arch/x86/kvm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/Kconfig +1 -1
index 1bb4927030af..9fea0757db92 100644
@@ -68,7 +68,7 @@ config KVM_WERROR
 	depends on (X86_64 && !KASAN) || !COMPILE_TEST
 	depends on EXPERT
 	help
-	  Add -Werror to the build flags for (and only for) i915.ko.
+	  Add -Werror to the build flags for KVM.
 
 	  If in doubt, say "N".
 
Signature · 1 line
2.25.1
maintainer Applied
#3 lore raw
Quoted 15 lines · Jason A. Donenfeld

This was evidently copy and pasted from the i915 driver, but the text wasn't updated.

Fixes 4f337faf1c55 ("KVM: allow disabling -Werror")
---
 arch/x86/kvm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/Kconfig +0 -0
index 1bb4927030af..9fea0757db92 100644

arch/x86/kvm/Kconfig config KVM_WERROR · line 74

Quoted 8 lines
arch/x86/kvm/Kconfig +1 -1
@@ -68,7 +68,7 @@ config KVM_WERROR
 	depends on (X86_64 && !KASAN) || !COMPILE_TEST
 	depends on EXPERT
 	help
-	  Add -Werror to the build flags for (and only for) i915.ko.
+	  Add -Werror to the build flags for KVM.
 
 	  If in doubt, say "N".
 

Queued, thanks.

Paolo