diff options
author | Xiubo Li <lixiubo@cmss.chinamobile.com> | 2015-02-26 07:58:22 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2015-03-10 14:37:44 +0100 |
commit | ee543159d5e0cfa9f3a349ac4e3da01a0ec66c78 (patch) | |
tree | e52167fd7415562dd76df7649558fd1edc71e9b0 /virt | |
parent | KVM: Fix ERROR: do not initialise statics to 0 or NULL in kvm_main.c (diff) | |
download | linux-ee543159d5e0cfa9f3a349ac4e3da01a0ec66c78.tar.xz linux-ee543159d5e0cfa9f3a349ac4e3da01a0ec66c78.zip |
KVM: EXPORT_SYMBOL should immediately follow its function
WARNING: EXPORT_SYMBOL(foo); should immediately follow its
function/variable
+EXPORT_SYMBOL_GPL(gfn_to_page);
This patch fixes these warnings to reduce noise when checking new
patches in kvm_main.c.
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 7d2c2ac3cb8a..f9ad30727388 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1473,7 +1473,6 @@ struct page *gfn_to_page(struct kvm *kvm, gfn_t gfn) return kvm_pfn_to_page(pfn); } - EXPORT_SYMBOL_GPL(gfn_to_page); void kvm_release_page_clean(struct page *page) |