[kvm:kvm-tlb-cleanup 254/287] arch/x86/kvm/mmu/mmu.c:5544:52: note: in expansion of macro 'INVALID_PAGE'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-tlb-cleanup
head:   99fb89fe3b4678408f59b0979873d5364cbcbe0c
commit: 0afc096d825a033d81612114a2d9e0b4db265c07 [254/287] KVM: x86: introduce kvm_mmu_invalidate_gva
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout 0afc096d825a033d81612114a2d9e0b4db265c07
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   In file included from include/linux/kvm_host.h:36:0,
                    from arch/x86/kvm/irq.h:15,
                    from arch/x86/kvm/mmu/mmu.c:18:
   arch/x86/kvm/mmu/mmu.c: In function 'kvm_mmu_invlpg':
   arch/x86/include/asm/kvm_host.h:104:22: error: large integer implicitly truncated to unsigned type [-Werror=overflow]
    #define INVALID_PAGE (~(hpa_t)0)
                         ^
>> arch/x86/kvm/mmu/mmu.c:5544:52: note: in expansion of macro 'INVALID_PAGE'
     kvm_mmu_invalidate_gva(vcpu, vcpu->arch.mmu, gva, INVALID_PAGE);
                                                       ^~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/INVALID_PAGE +5544 arch/x86/kvm/mmu/mmu.c

  5541	
  5542	void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva)
  5543	{
> 5544		kvm_mmu_invalidate_gva(vcpu, vcpu->arch.mmu, gva, INVALID_PAGE);
  5545		++vcpu->stat.invlpg;
  5546	}
  5547	EXPORT_SYMBOL_GPL(kvm_mmu_invlpg);
  5548	
  5549	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux