[PATCH 0/2] lib/bitmap: fix off-by-one in bitmap_to_arr64()

From: Alexander Lobakin
Date: Mon Jul 11 2022 - 14:10:49 EST


Fix tail clearing in bitmap_to_arr64() for 32-bit BEs and expand
the tests to cover the bug being fixed.

Alexander Lobakin (2):
lib/bitmap: fix off-by-one in bitmap_to_arr64()
lib/test_bitmap: test the tail after bitmap_to_arr64()

lib/bitmap.c | 2 +-
lib/test_bitmap.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)


base-commit: 32346491ddf24599decca06190ebca03ff9de7f8
--
2.36.1