[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c469d222-a082-a984-eedd-f6111e03917c@redhat.com>
Date: Fri, 23 Apr 2021 09:08:11 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Nathan Chancellor <nathan@...nel.org>,
Sean Christopherson <seanjc@...gle.com>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
clang-built-linux@...glegroups.com, linux-kernel@...r.kernel.org,
Kai Huang <kai.huang@...el.com>
Subject: Re: [PATCH] KVM: x86: Fix implicit enum conversion goof in scattered
reverse CPUID code
On 21/04/21 19:10, Nathan Chancellor wrote:
> arch/x86/kvm/cpuid.c:499:29: warning: implicit conversion from enumeration type 'enum kvm_only_cpuid_leafs' to different enumeration type 'enum cpuid_leafs' [-Wenum-conversion]
> kvm_cpu_cap_init_scattered(CPUID_12_EAX,
> ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
> arch/x86/kvm/cpuid.c:837:31: warning: implicit conversion from enumeration type 'enum kvm_only_cpuid_leafs' to different enumeration type 'enum cpuid_leafs' [-Wenum-conversion]
> cpuid_entry_override(entry, CPUID_12_EAX);
> ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
> 2 warnings generated.
Added this to the commit message, thanks!
Paolo
Powered by blists - more mailing lists