OSDN Git Service

x86/kvm/vmx: fix old-style function declaration
authorYi Wang <wang.yi59@zte.com.cn>
Thu, 8 Nov 2018 03:22:21 +0000 (11:22 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Nov 2018 11:50:09 +0000 (12:50 +0100)
commit1e4329ee2c52692ea42cc677fb2133519718b34a
tree464a08290aad0b0b8a7a94f9a77d0476899c7837
parent354cb410d87314e2eda344feea84809e4261570a
x86/kvm/vmx: fix old-style function declaration

The inline keyword which is not at the beginning of the function
declaration may trigger the following build warnings, so let's fix it:

arch/x86/kvm/vmx.c:1309:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
arch/x86/kvm/vmx.c:5947:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
arch/x86/kvm/vmx.c:5985:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
arch/x86/kvm/vmx.c:6023:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c