diff options
author | Yang Li <[email protected]> | 2022-06-09 15:12:50 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-09 11:57:49 +0100 |
commit | 0356163e5883e298b518cd16517be633824987f9 (patch) | |
tree | 20658e9b09c41f5b0be3f660687141c460eaba0d /net/lapb/lapb_out.c | |
parent | a4f26ba2608c9ff736a9ad1348aa8078f0b03f81 (diff) |
spi: Return true/false (not 1/0) from bool function
Return boolean values ("true" or "false") instead of 1 or 0 from bool
function.
As reported by coccicheck:
./drivers/spi/spi-s3c64xx.c:385:9-10: WARNING: return of 0/1 in function
's3c64xx_spi_can_dma' with return type bool
Signed-off-by: Yang Li <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions