lkml.org 
[lkml]   [2020]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] KVM: fix Kconfig menu text for -Werror
On Wed, Mar 04, 2020 at 06:42:21PM +0800, Jason A. Donenfeld wrote:
> This was evidently copy and pasted from the i915 driver, but the text
> wasn't updated.
>
> Fixes: 4f337faf1c55 ("KVM: allow disabling -Werror")
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
> ---
> arch/x86/kvm/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
> index 1bb4927030af..29bd4dc3363e 100644
> --- a/arch/x86/kvm/Kconfig
> +++ b/arch/x86/kvm/Kconfig
> @@ -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".

>
> If in doubt, say "N".
>
> --
> 2.25.1
>

\
 
 \ /
  Last update: 2020-03-04 20:09    [W:0.073 / U:7.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site