diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-20 20:19:13 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 05:03:14 -0400 |
commit | cded19f396bc3c9d299331709d0a9fbc6ecc148a (patch) | |
tree | b6aa4f8246e7341965d0100fec6c65a156235fed /virt | |
parent | d7364a29b305862cbc92b3f8b6ad9968270d068c (diff) |
KVM: fix sparse warnings: Should it be static?
Impact: Make symbols static.
Fix this sparse warnings:
arch/x86/kvm/mmu.c:992:5: warning: symbol 'mmu_pages_add' was not declared. Should it be static?
arch/x86/kvm/mmu.c:1124:5: warning: symbol 'mmu_pages_next' was not declared. Should it be static?
arch/x86/kvm/mmu.c:1144:6: warning: symbol 'mmu_pages_clear_parents' was not declared. Should it be static?
arch/x86/kvm/x86.c:2037:5: warning: symbol 'kvm_read_guest_virt' was not declared. Should it be static?
arch/x86/kvm/x86.c:2067:5: warning: symbol 'kvm_write_guest_virt' was not declared. Should it be static?
virt/kvm/irq_comm.c:220:5: warning: symbol 'setup_routing_entry' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/irq_comm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c index a70d805e0148..864ac5483baa 100644 --- a/virt/kvm/irq_comm.c +++ b/virt/kvm/irq_comm.c | |||
@@ -233,8 +233,8 @@ void kvm_free_irq_routing(struct kvm *kvm) | |||
233 | __kvm_free_irq_routing(&kvm->irq_routing); | 233 | __kvm_free_irq_routing(&kvm->irq_routing); |
234 | } | 234 | } |
235 | 235 | ||
236 | int setup_routing_entry(struct kvm_kernel_irq_routing_entry *e, | 236 | static int setup_routing_entry(struct kvm_kernel_irq_routing_entry *e, |
237 | const struct kvm_irq_routing_entry *ue) | 237 | const struct kvm_irq_routing_entry *ue) |
238 | { | 238 | { |
239 | int r = -EINVAL; | 239 | int r = -EINVAL; |
240 | int delta; | 240 | int delta; |