powerpc: sysdev: xive: Use true/false for bool type
PATCH 1/1 powerpc: sysdev: xive: Use true/false for bool type
Use true/false for bool return type in xive_spapr_cleanup_queue function. issue found using coccicheck .
Signed-off-by Saurav Girepunje <[email protected]>
--- arch/powerpc/sysdev/xive/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/sysdev/xive/spapr.c +1 -1
@@ -533,7 +533,7 @@ static void xive_spapr_cleanup_queue(unsigned int cpu, struct xive_cpu *xc,static bool xive_spapr_match (struct device_node *node) {/* Ignore cascaded controllers for the moment */ -return 1 ; +return true; }#ifdef CONFIG_SMP
Signature · 1 line
2.20.1