• Hannes Eder's avatar
    KVM: fix sparse warnings: Should it be static? · cded19f3
    Hannes Eder authored
    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: default avatarHannes Eder <hannes@hanneseder.net>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    cded19f3
x86.c 108 KB