Re: [kvm:queue 5/184] arch/x86/kvm/svm/avic.c:913:6: warning: shift count >= width of type

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

 



On Tue, Jun 14, 2022, Paolo Bonzini wrote:
> On 6/13/22 16:49, kernel test robot wrote:
> >     902	
> >     903	bool avic_check_apicv_inhibit_reasons(enum kvm_apicv_inhibit reason)
> >     904	{
> >     905		ulong supported = BIT(APICV_INHIBIT_REASON_DISABLE) |
> >     906				  BIT(APICV_INHIBIT_REASON_ABSENT) |
> >     907				  BIT(APICV_INHIBIT_REASON_HYPERV) |
> >     908				  BIT(APICV_INHIBIT_REASON_NESTED) |
> >     909				  BIT(APICV_INHIBIT_REASON_IRQWIN) |
> >     910				  BIT(APICV_INHIBIT_REASON_PIT_REINJ) |
> >     911				  BIT(APICV_INHIBIT_REASON_X2APIC) |
> >     912				  BIT(APICV_INHIBIT_REASON_BLOCKIRQ) |
> >   > 913				  BIT(APICV_INHIBIT_REASON_SEV      |
> >     914				  BIT(APICV_INHIBIT_REASON_APIC_ID_MODIFIED) |
> >     915				  BIT(APICV_INHIBIT_REASON_APIC_BASE_MODIFIED));
> 
> Ouch, saw this right after sending a pull request. :(

KVM_WERROR=y is your friend.  Or in my case, my enemy for the last few days :-D



[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