diff options
| author | Yury Norov <[email protected]> | 2022-07-01 12:54:24 +0000 |
|---|---|---|
| committer | Yury Norov <[email protected]> | 2022-07-14 22:21:43 +0000 |
| commit | e2863a78593d638d3924a6f67900c4820034f349 (patch) | |
| tree | 4245043ae17fc58f14ba95ae28975474cadb6585 /tools/lib/bitmap.c | |
| parent | arm: align find_bit declarations with generic kernel (diff) | |
| download | kernel-e2863a78593d638d3924a6f67900c4820034f349.tar.gz kernel-e2863a78593d638d3924a6f67900c4820034f349.zip | |
lib/bitmap: change return types to bool where appropriate
Some bitmap functions return boolean results in int variables. Fix it
by changing return types to bool.
Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'tools/lib/bitmap.c')
| -rw-r--r-- | tools/lib/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bitmap.c b/tools/lib/bitmap.c index 354f8cdc0880..2e351d63fdba 100644 --- a/tools/lib/bitmap.c +++ b/tools/lib/bitmap.c @@ -57,7 +57,7 @@ size_t bitmap_scnprintf(unsigned long *bitmap, unsigned int nbits, return ret; } -int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, +bool __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, unsigned int bits) { unsigned int k; |
