Re: [PATCH RESEND] lib: fix bitmap_parse() on 64-bit big endian archs

From: Andy Shevchenko
Date: Mon May 18 2020 - 07:35:22 EST


On Mon, May 18, 2020 at 2:33 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
>
> On Mon, May 18, 2020 at 1:40 PM Alexander Gordeev
> <agordeev@xxxxxxxxxxxxx> wrote:
> >
> > Commit 2d6261583be0 ("lib: rework bitmap_parse()") does
> > not take into account order of halfwords on 64-bit big
> > endian architectures.
>
> Thanks for report and the patch!
>
> Did it work before? Can we have a test case for that that we will see
> the failure?

Sorry, I wasn't clear enough. I meant a test case that is
arch-independent for this very issue (so, that I can run it on LE 64
machine and see a problem).

--
With Best Regards,
Andy Shevchenko