Re: [PATCH REBASED] KVM: x86: SVM: Fix one redefine issue about VMCB_AVIC_APIC_BAR_MASK

From: Xinghui Li
Date: Tue Apr 04 2023 - 06:37:09 EST


On Tue, Apr 4, 2023 at 4:40 PM Like Xu <like.xu.linux@xxxxxxxxx> wrote:
>
> On 3/4/2023 5:52 pm, korantwork@xxxxxxxxx wrote:
> > From: Xinghui Li <korantli@xxxxxxxxxxx>
> >
> > VMCB_AVIC_APIC_BAR_MASK is defined twice with the same value in svm.h,
> > which is meaningless. Delete the duplicate one.
> >
> > Fixes: 391503528257 ("KVM: x86: SVM: move avic definitions from AMD's spec to svm.h")
> > Signed-off-by: Xinghui Li <korantli@xxxxxxxxxxx>
>
> Reviewed-by: Like Xu <likexu@xxxxxxxxxxx>
>
> Do we have any tool to find out more similar issues across numerous subsystems ?
>
As far as I know, there is no such tool.
But It seems possible to develop one, I will research it.

Thanks~