[PATCH] KVM: PPC: fix comparison to bool warning
Paul Mackerras
paulus at ozlabs.org
Tue Dec 15 13:14:15 AEDT 2020
On Sat, Nov 07, 2020 at 11:49:38PM +0800, xiakaixu1987 at gmail.com wrote:
> From: Kaixu Xia <kaixuxia at tencent.com>
>
> Fix the following coccicheck warning:
>
> ./arch/powerpc/kvm/booke.c:503:6-16: WARNING: Comparison to bool
> ./arch/powerpc/kvm/booke.c:505:6-17: WARNING: Comparison to bool
> ./arch/powerpc/kvm/booke.c:507:6-16: WARNING: Comparison to bool
>
> Reported-by: Tosk Robot <tencent_os_robot at tencent.com>
> Signed-off-by: Kaixu Xia <kaixuxia at tencent.com>
Acked-by: Paul Mackerras <paulus at ozlabs.org>
More information about the Linuxppc-dev
mailing list