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

2020-06-08 Thread Alexander Gordeev
On Fri, Jun 05, 2020 at 04:25:58PM +0300, Andy Shevchenko wrote: > Test case, please. Hi Andy, Below is the output of the runtime kernel test "test_bitmap". I resent the patch with Andrew Morton on CC, but did not include the excessive test output: test_bitmap: parse: 4: input is 1, result is

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

2020-06-05 Thread Andy Shevchenko
On Tue, Jun 02, 2020 at 12:24:31PM +0200, Alexander Gordeev wrote: > On Mon, May 18, 2020 at 01:50:59PM +0200, Alexander Gordeev wrote: > > On Mon, May 18, 2020 at 02:33:43PM +0300, Andy Shevchenko wrote: > > > On Mon, May 18, 2020 at 1:40 PM Alexander Gordeev > > > wrote: > > > > > > > > Commit

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

2020-06-02 Thread Alexander Gordeev
On Mon, May 18, 2020 at 01:50:59PM +0200, Alexander Gordeev wrote: > On Mon, May 18, 2020 at 02:33:43PM +0300, Andy Shevchenko wrote: > > On Mon, May 18, 2020 at 1:40 PM Alexander Gordeev > > wrote: > > > > > > Commit 2d6261583be0 ("lib: rework bitmap_parse()") does > > > not take into account

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

2020-05-18 Thread Alexander Gordeev
On Mon, May 18, 2020 at 02:33:43PM +0300, Andy Shevchenko wrote: > On Mon, May 18, 2020 at 1:40 PM Alexander Gordeev > wrote: > > > > Commit 2d6261583be0 ("lib: rework bitmap_parse()") does > > not take into account order of halfwords on 64-bit big > > endian architectures. > > Thanks for report

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

2020-05-18 Thread Andy Shevchenko
On Mon, May 18, 2020 at 2:33 PM Andy Shevchenko wrote: > > On Mon, May 18, 2020 at 1:40 PM Alexander Gordeev > 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

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

2020-05-18 Thread Andy Shevchenko
On Mon, May 18, 2020 at 1:40 PM Alexander Gordeev 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

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

2020-05-18 Thread Alexander Gordeev
Commit 2d6261583be0 ("lib: rework bitmap_parse()") does not take into account order of halfwords on 64-bit big endian architectures. Fixes: 2d6261583be0 ("lib: rework bitmap_parse()") Cc: sta...@vger.kernel.org Cc: Yury Norov Cc: Andy Shevchenko Cc: Amritha Nambiar Cc: Arnaldo Carvalho de Melo