aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorHaowen Bai <[email protected]>2022-04-06 21:07:15 +0200
committerJens Axboe <[email protected]>2022-04-17 19:54:24 -0600
commit8fd6533ef3f7729e4aa29ead83844c042688615a (patch)
tree9069b14554cc4f10a1198067a5d627ea4dc22360 /tools/perf/scripts/python/net_dropmonitor.py
parent90c6c291453922362ae026f1049843368111bdfe (diff)
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 <[email protected]> Reviewed-by: Christoph Böhmwalder <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions