Re: [PATCH v8 2/2] lib/test_bitmap: add tests for bitmap_{read,write}()

From: Andy Shevchenko
Date: Mon Oct 23 2023 - 07:32:40 EST


On Mon, Oct 23, 2023 at 12:23:27PM +0200, Alexander Potapenko wrote:
> Add basic tests ensuring that values can be added at arbitrary positions
> of the bitmap, including those spanning into the adjacent unsigned
> longs.

...

> + val = bitmap_read(bitmap, i, nbits);
> + (void)val;

Is it marked with __must_check? Otherwise why do we need this?

--
With Best Regards,
Andy Shevchenko