Re: [PATCH v5 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-05-14 Thread Syed Nayyar Waris
On Mon, May 4, 2020 at 5:08 PM Andy Shevchenko wrote: > > On Sun, May 03, 2020 at 04:41:42AM +0530, Syed Nayyar Waris wrote: > > The introduction of the generic for_each_set_clump macro need test > > cases to verify the implementation. This patch adds test cases for > > scenarios in which clump

Re: [PATCH v5 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-05-04 Thread Andy Shevchenko
On Sun, May 03, 2020 at 04:41:42AM +0530, Syed Nayyar Waris wrote: > The introduction of the generic for_each_set_clump macro need test > cases to verify the implementation. This patch adds test cases for > scenarios in which clump sizes are 8 bits, 24 bits, 30 bits and 6 bits. > The cases contain

[PATCH v5 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-05-02 Thread Syed Nayyar Waris
The introduction of the generic for_each_set_clump macro need test cases to verify the implementation. This patch adds test cases for scenarios in which clump sizes are 8 bits, 24 bits, 30 bits and 6 bits. The cases contain situations where clump is getting split at the word boundary and also when