]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xive: Assign boolean values to a bool variable
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Sun, 7 Feb 2021 06:43:12 +0000 (14:43 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Feb 2021 12:35:06 +0000 (23:35 +1100)
commitc9df3f809cc98b196548864f52d3c4e280dd1970
tree97f6e7fb395cf7134e2151fbba682046173b2552
parent3642eb21256a317ac14e9ed560242c6d20cf06d9
powerpc/xive: Assign boolean values to a bool variable

Fix the following coccicheck warnings:

./arch/powerpc/kvm/book3s_xive.c:1856:2-17: WARNING: Assignment of 0/1
to bool variable.

./arch/powerpc/kvm/book3s_xive.c:1854:2-17: WARNING: Assignment of 0/1
to bool variable.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1612680192-43116-1-git-send-email-jiapeng.chong@linux.alibaba.com
arch/powerpc/kvm/book3s_xive.c