Re: [PATCH v2] KVM: x86/cpuid: add type suffix to decimal const 48 fix building warning

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

 



On Mon, 27 Jan 2025 09:38:37 +0800, Ethan Zhao wrote:
> The default type of a decimal constant is determined by the magnitude of
> its value. If the value falls within the range of int, its type is int;
> otherwise, if it falls within the range of unsigned int, its type is
> unsigned int. This results in the constant 48 being of type int. In the
> following min call,
> 
> g_phys_as = min(g_phys_as, 48);
> 
> [...]

Applied to kvm-x86 misc, thanks!

[1/1] KVM: x86/cpuid: add type suffix to decimal const 48 fix building warning
      https://github.com/kvm-x86/linux/commit/a11128ce1636

--
https://github.com/kvm-x86/linux/tree/next




[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