Messages in this thread | | | From | Andy Shevchenko <> | Date | Wed, 28 Jul 2021 12:24:23 +0300 | Subject | Re: [PATCH v7 4/4] lib: test_bitmap: add bitmap_print_to_buf test cases |
| |
On Wed, Jul 28, 2021 at 12:08 PM Song Bao Hua (Barry Song) <song.bao.hua@hisilicon.com> wrote: > > From: Greg Kroah-Hartman [mailto:gregkh@linuxfoundation.org] > > Sent: Friday, July 23, 2021 6:45 AM
...
> +static int vb_bits = sizeof(large_bitmap) * BITS_PER_BYTE; > +DECLARE_BITMAP(vbmap, sizeof(large_bitmap) * BITS_PER_BYTE);
Just side note: we have BITS_PER_TYPE() macro :-)
-- With Best Regards, Andy Shevchenko
| |