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

From: Sean Christopherson
Date: Fri Feb 14 2025 - 19:52:26 EST


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