Re: [kvm-unit-tests PATCH] x86/pmu: Fix compilation on 32-bit hosts

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

 



On 16/06/2020 13.13, Xu, Like wrote:
> On 2020/6/16 18:59, Thomas Huth wrote:
>> When building for 32-bit hosts, the compiler currently complains:
>>
>>   x86/pmu.c: In function 'check_gp_counters_write_width':
>>   x86/pmu.c:490:30: error: left shift count >= width of type
>>
>> Use the correct suffix to avoid this problem.
>>
>> Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
>
> Thanks, I admit I did not test it on a 32-bit host.

No problem, that's what the CI is good for :-)

(if you have a github or gitlab account, you can also run the tests
there before submitting a patch)

 Thomas




[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