From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:38270 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726413AbgERLw1 (ORCPT ); Mon, 18 May 2020 07:52:27 -0400 Date: Mon, 18 May 2020 13:51:00 +0200 From: Alexander Gordeev Subject: Re: [PATCH RESEND] lib: fix bitmap_parse() on 64-bit big endian archs Message-ID: <20200518115059.GA19150@oc3871087118.ibm.com> References: <1589798090-11136-1-git-send-email-agordeev@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-s390-owner@vger.kernel.org List-ID: To: Andy Shevchenko Cc: Linux Kernel Mailing List , linux-s390@vger.kernel.org, Stable , Yury Norov , Andy Shevchenko , Amritha Nambiar , Arnaldo Carvalho de Melo , Chris Wilson , Kees Cook , Matthew Wilcox , Miklos Szeredi , Rasmus Villemoes , Steffen Klassert , "Tobin C . Harding" , Vineet Gupta , Will Deacon , Willem de Bruijn 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 and the patch! > > Did it work before? Can we have a test case for that that we will see > the failure? The test exists and enabled with CONFIG_TEST_BITMAP. It does not appear ever passed before on 64 BE. It does not fail on 64 LE for me either. Thanks! [...] > -- > With Best Regards, > Andy Shevchenko