Re: [PATCH 0/7] assorted minor bitmap patches

From: Andy Shevchenko
Date: Sun Aug 19 2018 - 08:39:26 EST


On Sat, Aug 18, 2018 at 4:17 PM Rasmus Villemoes
<linux@xxxxxxxxxxxxxxxxxx> wrote:
>
> A recent LKML thread had me look into bitmap.{h,c} again, and I
> stumbled on/rediscovered a few things.
>

Good fixes, thanks!

Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

P.S. Perhaps needs addressing my comment to patch 6.
> Rasmus Villemoes (7):
> lib/bitmap.c: remove wrong documentation
> linux/bitmap.h: handle constant zero-size bitmaps correctly
> linux/bitmap.h: remove redundant uses of small_const_nbits()
> linux/bitmap.h: fix type of nbits in bitmap_shift_right()
> linux/bitmap.h: relax comment on compile-time constant nbits
> lib/bitmap.c: fix remaining space computation in
> bitmap_print_to_pagebuf
> lib/bitmap.c: simplify bitmap_print_to_pagebuf
>
> include/linux/bitmap.h | 37 +++++++++++++++----------------------
> lib/bitmap.c | 21 +++++++--------------
> 2 files changed, 22 insertions(+), 36 deletions(-)
>
> --
> 2.16.4
>


--
With Best Regards,
Andy Shevchenko