projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4fee93
)
KVM: EXPORT_SYMBOL should immediately follow its function
author
Xiubo Li
<lixiubo@cmss.chinamobile.com>
Thu, 26 Feb 2015 06:58:22 +0000
(14:58 +0800)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Tue, 10 Mar 2015 13:37:44 +0000
(10:37 -0300)
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>
virt/kvm/kvm_main.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index 7d2c2ac3cb8a8f2da134f784b1935c726b1ee012..f9ad30727388cb2dd160f5fa1d1b094cc4158111 100644
(file)
--- 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)