powerpc: Use bool function return values of true/false not 1/0
Use the normal return values for bool functions Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

szülő
4cd968ef42
commit
acdb66857f
@@ -54,7 +54,7 @@ bool dcr_map_ok_generic(dcr_host_t host)
|
||||
else if (host.type == DCR_HOST_MMIO)
|
||||
return dcr_map_ok_mmio(host.host.mmio);
|
||||
else
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dcr_map_ok_generic);
|
||||
|
||||
|
Reference in New Issue
Block a user