commit | 8997f657001d1ac5042d368a936987c87251c5ec | [log] [tgz] |
---|---|---|
author | Yi Wang <wang.yi59@zte.com.cn> | Mon Jan 21 15:27:05 2019 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jan 25 19:11:35 2019 +0100 |
tree | e06d9df73522bc8eef22ba912a71c1cd4889a64b | |
parent | 619ad846fc3452adaf71ca246c5aa711e2055398 [diff] |
kvm: vmx: fix some -Wmissing-prototypes warnings We get some warnings when building kernel with W=1: arch/x86/kvm/vmx/vmx.c:426:5: warning: no previous prototype for ‘kvm_fill_hv_flush_list_func’ [-Wmissing-prototypes] arch/x86/kvm/vmx/nested.c:58:6: warning: no previous prototype for ‘init_vmcs_shadow_fields’ [-Wmissing-prototypes] Make them static to fix this. Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>