From: kernel test robot
fs/btrfs/volumes.c:1462:10-11: WARNING: return of 0/1 in function
'dev_extent_hole_check_zoned' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
Fixes: 69e8
On Sun, Nov 01, 2020 at 01:20:51PM +0800, kernel test robot wrote:
> From: kernel test robot
>
> fs/btrfs/space-info.c:810:9-10: WARNING: return of 0/1 in function
> 'need_preemptive_reclaim' with return type bool
>
> Return statements in functions returning bool should use
> true/false inste
From: kernel test robot
fs/btrfs/space-info.c:810:9-10: WARNING: return of 0/1 in function
'need_preemptive_reclaim' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
Fixes: fc96d37
3 matches
Mail list logo