[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173958023920.1189103.10850075100042366704.b4-ty@google.com>
Date: Fri, 14 Feb 2025 16:50:12 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, hpa@...or.com, bp@...en8.de, tglx@...utronix.de,
mingo@...hat.com, Ethan Zhao <haifeng.zhao@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org, x86@...nel.org,
joro@...tes.org, jmattson@...gle.com, wanpengli@...cent.com,
pbonzini@...hat.com, etzhao@...look.com
Subject: Re: [PATCH v2] KVM: x86/cpuid: add type suffix to decimal const 48
fix building warning
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
Powered by blists - more mailing lists