projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
813ae37
)
KVM: PPC: Book3S HV: Fix sparse static warning
author
Daniel Axtens
<dja@axtens.net>
Mon, 10 Oct 2016 00:31:19 +0000
(11:31 +1100)
committer
Paul Mackerras
<paulus@ozlabs.org>
Mon, 21 Nov 2016 04:16:53 +0000
(15:16 +1100)
Squash a couple of sparse warnings by making things static.
Build tested.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_64_mmu_hv.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/book3s_64_mmu_hv.c
b/arch/powerpc/kvm/book3s_64_mmu_hv.c
index 05f09ae825876cfd2a6b57d10edfd8b760f0c501..95abca69b1685da999b9e905aca1f12b01d5dae6 100644
(file)
--- a/
arch/powerpc/kvm/book3s_64_mmu_hv.c
+++ b/
arch/powerpc/kvm/book3s_64_mmu_hv.c
@@
-255,7
+255,7
@@
static void kvmppc_mmu_book3s_64_hv_reset_msr(struct kvm_vcpu *vcpu)
kvmppc_set_msr(vcpu, msr);
}
-long kvmppc_virtmode_do_h_enter(struct kvm *kvm, unsigned long flags,
+
static
long kvmppc_virtmode_do_h_enter(struct kvm *kvm, unsigned long flags,
long pte_index, unsigned long pteh,
unsigned long ptel, unsigned long *pte_idx_ret)
{
@@
-1608,7
+1608,7
@@
static ssize_t debugfs_htab_read(struct file *file, char __user *buf,
return ret;
}
-ssize_t debugfs_htab_write(struct file *file, const char __user *buf,
+s
tatic s
size_t debugfs_htab_write(struct file *file, const char __user *buf,
size_t len, loff_t *ppos)
{
return -EACCES;