Re: [PATCH 0/2] lib/bitmap: fix off-by-one in bitmap_to_arr64()
From: Andy Shevchenko
Date: Tue Jul 12 2022 - 10:31:37 EST
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@xxxxxxxxxxxxxxx>
> 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