Thread (10 messages) 10 messages, 2 authors, 2023-10-12

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

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2023-10-11 18:03:20
Also in: lkml

On Wed, Oct 11, 2023 at 07:28:32PM +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.
Would be nice to have an additional test like

	bitmap_write(..., 33 /* or anything > 32 */);

This will require ifdeffery. So at least this code may warn users about corner
cases in the agnostic code.

-- 
With Best Regards,
Andy Shevchenko



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help