Re: [PATCH] lib/bitmap: rework bitmap_cut()

From: Stefano Brivio
Date: Sun May 24 2020 - 09:25:22 EST


Hi Yury,

On Sat, 7 Mar 2020 06:07:39 -0800
Yury Norov <yury.norov@xxxxxxxxx> wrote:

> On Sat, Mar 07, 2020 at 02:33:41PM +0100, Stefano Brivio wrote:
> >
> > [...]
> >
> > ...which means it would be a good idea to also add tests for numbers of
> > bits that are not multiple of eight, and single bits too.
>
> OK, I will look at this and send v2

Meanwhile, I could send the simple version of the fix I proposed for the
hypothetical partial overlapping issue you reported, and add this test,
recycling parts of the tests you already shared, if you agree. Just let
me know.

--
Stefano