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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Oct 23 04:32:26 PDT 2023


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





More information about the linux-arm-kernel mailing list