Re: [PATCH] KVM: PPC: Book3S: Assign boolean values to a bool variable

From: Paul Mackerras
Date: Mon Dec 14 2020 - 21:18:03 EST


On Sat, Nov 07, 2020 at 02:26:22PM +0800, xiakaixu1987@xxxxxxxxx wrote:
> From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
>
> Fix the following coccinelle warnings:
>
> ./arch/powerpc/kvm/book3s_xics.c:476:3-15: WARNING: Assignment of 0/1 to bool variable
> ./arch/powerpc/kvm/book3s_xics.c:504:3-15: WARNING: Assignment of 0/1 to bool variable
>
> Reported-by: Tosk Robot <tencent_os_robot@xxxxxxxxxxx>
> Signed-off-by: Kaixu Xia <kaixuxia@xxxxxxxxxxx>

Acked-by: Paul Mackerras <paulus@xxxxxxxxxx>