linux/drivers/block/drbd
Haowen Bai 8fd6533ef3 drbd: Return true/false (not 1/0) from bool functions
Return boolean values ("true" or "false") instead of 1 or 0 from bool
functions.  This fixes the following warnings from coccicheck:

./drivers/block/drbd/drbd_req.c:912:9-10: WARNING: return of 0/1 in
function 'remote_due_to_read_balancing' with return type bool

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20220406190715.1938174-8-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-04-17 19:54:24 -06:00
..
drbd_actlog.c block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
drbd_bitmap.c drbd: Make use of PFN_UP helper macro 2022-04-17 19:54:24 -06:00
drbd_debugfs.c
drbd_debugfs.h
drbd_int.h drbd: Fix five use after free bugs in get_initial_state 2022-04-06 13:07:50 -06:00
drbd_interval.c
drbd_interval.h
drbd_main.c drbd: fix duplicate array initializer 2022-04-17 19:54:24 -06:00
drbd_nl.c drdb: Switch to kvfree_rcu() API 2022-04-17 19:54:24 -06:00
drbd_nla.c
drbd_nla.h
drbd_proc.c
drbd_protocol.h drbd: Use struct_group() to zero algs 2021-12-13 16:31:24 -07:00
drbd_receiver.c drdb: Switch to kvfree_rcu() API 2022-04-17 19:54:24 -06:00
drbd_req.c drbd: Return true/false (not 1/0) from bool functions 2022-04-17 19:54:24 -06:00
drbd_req.h
drbd_state_change.h drbd: Fix five use after free bugs in get_initial_state 2022-04-06 13:07:50 -06:00
drbd_state.c drdb: Switch to kvfree_rcu() API 2022-04-17 19:54:24 -06:00
drbd_state.h
drbd_strings.c
drbd_strings.h
drbd_vli.h
drbd_worker.c drbd: Make use of PFN_UP helper macro 2022-04-17 19:54:24 -06:00
Kconfig
Makefile