From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4A2FC433E0 for ; Mon, 4 Jan 2021 11:16:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6737C21D79 for ; Mon, 4 Jan 2021 11:16:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726026AbhADLQB convert rfc822-to-8bit (ORCPT ); Mon, 4 Jan 2021 06:16:01 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:38497 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbhADLQB (ORCPT ); Mon, 4 Jan 2021 06:16:01 -0500 Received: from xps13 (lfbn-tou-1-1535-bdcst.w90-89.abo.wanadoo.fr [90.89.98.255]) (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id AE75620000C; Mon, 4 Jan 2021 11:15:17 +0000 (UTC) Date: Mon, 4 Jan 2021 12:15:16 +0100 From: Miquel Raynal To: Sean Nyekjaer Cc: Han Xu , Richard Weinberger , Vignesh Raghavendra , Martin =?UTF-8?B?SHVuZGViw7hsbA==?= , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] mtd: rawnand: gpmi: fix dst bit offset when extracting raw payload Message-ID: <20210104121516.3d50fb58@xps13> In-Reply-To: <7db4b36e-23a6-6075-132c-214d043e78bd@geanix.com> References: <20210104103558.9035-1-miquel.raynal@bootlin.com> <7db4b36e-23a6-6075-132c-214d043e78bd@geanix.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi Sean, Sean Nyekjaer wrote on Mon, 4 Jan 2021 11:50:10 +0100: > On 04/01/2021 11.35, Miquel Raynal wrote: > > On Mon, 2020-12-21 at 10:00:13 UTC, Sean Nyekjaer wrote: > >> Re-add the multiply by 8 to "step * eccsize" to correct the destination bit offset > >> when extracting the data payload in gpmi_ecc_read_page_raw(). > >> > >> Fixes: e5e5631cc889 ("mtd: rawnand: gpmi: Use nand_extract_bits()") > >> Cc: stable@vger.kernel.org > >> Reported-by: Martin Hundebøll > >> Signed-off-by: Sean Nyekjaer > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. > > > > Miquel > Hi Miquel > > Will you please queue this for fixes? It's quite relevant for 5.10 LTS :) Right, that will be quicker to have it in Linus' tree. I moved the patch to the mtd/next branch. Cheers, Miquèl