]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xive: use true and false for bool variable
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 15 Mar 2021 07:24:56 +0000 (15:24 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Mar 2021 02:22:13 +0000 (13:22 +1100)
commitf81c12079adaddf940f7fb0c8573d0430d7e8b1d
tree2ff2143adbf2b303ef51678dbc58278c45eee48e
parentd2198cab06899a88b1ee701ec41ecf8197f8d520
powerpc/xive: use true and false for bool variable

fixed the following coccicheck:
./arch/powerpc/sysdev/xive/spapr.c:552:8-9: WARNING: return of 0/1 in
function 'xive_spapr_match' with return type bool

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1615793096-83758-1-git-send-email-yang.lee@linux.alibaba.com
arch/powerpc/sysdev/xive/spapr.c