diff options
author | Qian Cai <cai@lca.pw> | 2020-04-02 18:39:55 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-02 22:17:45 +0300 |
commit | 514ccc194971d0649e4e7ec8a9b3a6e33561d7bf (patch) | |
tree | 1fb68fc07e70c65c7daaf047e8a27ce4be841fa5 /arch/sparc/include/asm/futex_64.h | |
parent | 855c7e9b9c2c39fb8d108ac70d0eed530f80a2aa (diff) | |
download | linux-514ccc194971d0649e4e7ec8a9b3a6e33561d7bf.tar.xz |
x86/kvm: fix a missing-prototypes "vmread_error"
The commit 842f4be95899 ("KVM: VMX: Add a trampoline to fix VMREAD error
handling") removed the declaration of vmread_error() causes a W=1 build
failure with KVM_WERROR=y. Fix it by adding it back.
arch/x86/kvm/vmx/vmx.c:359:17: error: no previous prototype for 'vmread_error' [-Werror=missing-prototypes]
asmlinkage void vmread_error(unsigned long field, bool fault)
^~~~~~~~~~~~
Signed-off-by: Qian Cai <cai@lca.pw>
Message-Id: <20200402153955.1695-1-cai@lca.pw>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/sparc/include/asm/futex_64.h')
0 files changed, 0 insertions, 0 deletions