linux-next: build failure after merge of the kvm tree
Subsystems (3)
Hi all,
After merging the kvm tree, today's linux-next build (x86_64 allmodconfig) failed like this:
arch/x86/kvm/cpuid.c: In function 'kvm_update_cpuid':arch/x86/kvm/cpuid.c:98:2: error: implicit declaration of function 'use_eager_fpu' [-Werror=implicit-function-declaration]
vcpu->arch.eager_fpu = use_eager_fpu() || guest_cpuid_has_mpx(vcpu);
^
Caused by a bad automatic merge resolution which didn't add the includes of one of its parents.
I added the following merge fix patch:
From: Stephen Rothwell <[email protected]>
Date: Fri, 29 May 2015 17:24:42 +1000
Subject: [PATCH] kvm: bad merge fix patch for arch/x86/kvm/cpuid.c
--- arch/x86/kvm/cpuid.c | 2 ++ 1 file changed, 2 insertions(+)
arch/x86/kvm/cpuid.c +2 -0
@@ -16,6 +16,8 @@#include <linux/module.h> #include <linux/vmalloc.h> #include <linux/uaccess.h> +#include <asm/fpu/api.h> /* For use_eager_fpu. Ugh! */ +#include <asm/fpu/internal.h> /* For use_eager_fpu. Ugh! */ #include <asm/user.h> #include <asm/fpu/xstate.h> #include "cpuid.h"
Signature · 5 lines
2.1.4 -- Cheers, Stephen Rothwell [email protected]
Quoted 29 lines · Stephen Rothwell
Hi all,
After merging the kvm tree, today's linux-next build (
x86_64allmodconfig) failed like this:
arch/x86/kvm/cpuid.c: In function 'kvm_update_cpuid':arch/x86/kvm/cpuid.c:98:2: error: implicit declaration of function 'use_eager_fpu' [-Werror=implicit-function-declaration]
vcpu->arch.eager_fpu=use_eager_fpu()||guest_cpuid_has_mpx(vcpu);
^Caused by a bad automatic merge resolution which didn't add the includes of one of its parents.
I added the following merge fix patch:
From: Stephen Rothwell <[email protected]>
Date: Fri, 29 May 2015 17:24:42 +1000
Subject: [PATCH] kvm: bad merge fix patch forarch/x86/kvm/cpuid.cSigned-off-by Stephen Rothwell <[email protected]>--- arch/x86/kvm/cpuid.c | 2 ++ 1 file changed, 2 insertions(+)arch/x86/kvm/cpuid.c +0
-0
arch/x86/kvm/cpuid.c line 20
Quoted 5 lines
arch/x86/kvm/cpuid.c +2
-0@@ -16,6 +16,8 @@#include <linux/module.h> #include <linux/vmalloc.h> #include <linux/uaccess.h> +#include <asm/fpu/api.h> /* For use_eager_fpu. Ugh! */ +#include <asm/fpu/internal.h> /* For use_eager_fpu. Ugh! */
The comments are incorrect, otherwise the resolution is OK.
Thanks,
Ingo
Paolo Bonzini
maintainer-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the kvm tree, today's linux-next build (
x86_64allmodconfig) failed like this:
Quoted 8 lines
arch/x86/kvm/cpuid.c: In function 'kvm_update_cpuid':arch/x86/kvm/cpuid.c:98:2: error: implicit declaration of function 'use_eager_fpu' [-Werror=implicit-function-declaration]vcpu->arch.eager_fpu=use_eager_fpu()||guest_cpuid_has_mpx(vcpu); ^Caused by a bad automatic merge resolution which didn't add the includes of one of its parents.
Thanks; I'll wait for Ingo's 4.1 FPU changes to land, and then note the semantic conflict in my own pull request.
Also can you please add me and [email protected] to the list of addresses that are notified about the KVM tree in linux-next?
Regards,
Paolo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVaFbHAAoJEL/70l94x66DaAEIAINFmHxlKGpajfWibnDqc4yW AEuqFlN02JYNTUL+ZPXEpnjYT2eHnZUm+Q3BcwewnsoHcJL+KKKnHkNLlJQCpBc5 iBPPZQvMsbExEF7NsHDioPiZj1BK9IcQQOejRatEystOO9r9Mmw42L09t2M/+lUo iIoDjpgUp/BegMqC4c3xG682k5v+jH+UIqsBUy7OWvfbTF7Eej98wUXpuuw/rfLU 1JLM9gUo7CEUWYhjH9LfymQ84pFM0iQ7sEm1VUOmxwaRJ2EqF6AueyKB2uqqgGY/ a5uYx88AVMT2wxBpMhsnM9OMkGqZ8uykWAiWhgIhX6JR6Ygk+OgC+d2sKsREQgc= =PRiY
-----END PGP SIGNATURE-----