diff options
author | 2022-01-28 12:34:54 +0800 | |
---|---|---|
committer | 2022-02-02 07:50:00 -0700 | |
commit | 455a844d6345639be682977b3f0126be446b702e (patch) | |
tree | a3de13d2c767d555519438f2904cc84e0734202b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MAINTAINERS: add bio.h to the block section (diff) | |
download | linux-dev-455a844d6345639be682977b3f0126be446b702e.tar.xz linux-dev-455a844d6345639be682977b3f0126be446b702e.zip |
block: fix boolreturn.cocci warning
Return statements in functions returning bool should use true/false
instead of 1/0.
./block/bio.c:1081:9-10: WARNING: return of 0/1 in function
'bio_add_folio' with return type bool.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220128043454.68927-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions