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

Alexander Lobakin posted 2 patches 3 years, 9 months ago
lib/bitmap.c      | 2 +-
lib/test_bitmap.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
[PATCH 0/2] lib/bitmap: fix off-by-one in bitmap_to_arr64()
Posted by Alexander Lobakin 3 years, 9 months ago
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
Re: [PATCH 0/2] lib/bitmap: fix off-by-one in bitmap_to_arr64()
Posted by Andy Shevchenko 3 years, 9 months ago
On Mon, Jul 11, 2022 at 08:09:28PM +0200, Alexander Lobakin wrote:
> Fix tail clearing in bitmap_to_arr64() for 32-bit BEs and expand
> the tests to cover the bug being fixed.

Thanks,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> 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(-)

-- 
With Best Regards,
Andy Shevchenko