• Xiao Guangrong's avatar
    KVM: MMU: fix compile warning in audit code · 9ad17b10
    Xiao Guangrong authored
    fix:
    
    arch/x86/kvm/mmu.c: In function ‘kvm_mmu_unprotect_page’:
    arch/x86/kvm/mmu.c:1741: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘gfn_t’
    arch/x86/kvm/mmu.c:1745: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘gfn_t’
    arch/x86/kvm/mmu.c: In function ‘mmu_unshadow’:
    arch/x86/kvm/mmu.c:1761: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘gfn_t’
    arch/x86/kvm/mmu.c: In function ‘set_spte’:
    arch/x86/kvm/mmu.c:2005: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘gfn_t’
    arch/x86/kvm/mmu.c: In function ‘mmu_set_spte’:
    arch/x86/kvm/mmu.c:2033: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘gfn_t’
    Signed-off-by: default avatarXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    9ad17b10
mmu.c 88.6 KB