diff options
author | Xiubo Li <lixiubo@cmss.chinamobile.com> | 2015-02-26 14:58:22 +0800 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2015-03-10 10:37:44 -0300 |
commit | ee543159d5e0cfa9f3a349ac4e3da01a0ec66c78 (patch) | |
tree | e52167fd7415562dd76df7649558fd1edc71e9b0 /virt | |
parent | f4fee93270abbf862aab268111ac1e12934130c4 (diff) | |
download | op-kernel-dev-ee543159d5e0cfa9f3a349ac4e3da01a0ec66c78.zip op-kernel-dev-ee543159d5e0cfa9f3a349ac4e3da01a0ec66c78.tar.gz |
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 7d2c2ac3..f9ad307 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) |