]> git.baikalelectronics.ru Git - kernel.git/commit
lib/bitmap: change return types to bool where appropriate
authorYury Norov <yury.norov@gmail.com>
Fri, 1 Jul 2022 12:54:24 +0000 (05:54 -0700)
committerYury Norov <yury.norov@gmail.com>
Thu, 14 Jul 2022 22:21:43 +0000 (15:21 -0700)
commit7e7f6ebeaa062ebe4629e630efeb571f9931d367
tree4245043ae17fc58f14ba95ae28975474cadb6585
parentece4c191c50cea2d280cd164399cdda29e4dc16c
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 <yury.norov@gmail.com>
include/linux/bitmap.h
lib/bitmap.c
tools/include/linux/bitmap.h
tools/lib/bitmap.c