• X
    KVM: MMU: fix compile warning in audit code · 9ad17b10
    Xiao Guangrong 提交于
    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: NXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    9ad17b10
mmu.c 88.6 KB