Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13722594pxu; Mon, 4 Jan 2021 02:38:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCilQs/OGCK0ZiE0VDGGkkZ4nIkmNOySwXsou10WoPBXb6w95kW5MqQPPQbXO+zFhhA5Ey X-Received: by 2002:a17:906:6606:: with SMTP id b6mr64575552ejp.151.1609756687792; Mon, 04 Jan 2021 02:38:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609756687; cv=none; d=google.com; s=arc-20160816; b=myTaA0lMBZYhh4W4pmtDNX1kUd1V/mBsUUj9s1guPvU5yCtP9pcjM3OfCu93xfZJz2 6LRxt1TZolwyjvdjz7MKHiTRFBJEYK2+xxbAeU7Fv2KXzr94JMnlVjzV6ljEUH5J4F/t Ky+qaeY5jYUH5gsx5ZOPVFsO3w0vqerTzerIvsTu3KFiuFbLDXwlt9W4/bs7mKVsfPex GRqBOQVmHvJe2X7wYbcv1fkXVO+pfDXONJujqH6lmvd6v+w269GJK8wQR4ZFtp+9zwgs adP470NH6u7qgeHlMfFRecUegreOU9bAO4veERwpPPcv7Paqb0Vu/I4yN5TZlvA8/qK9 4+WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/nuCAmIWwysSrTocbyLOwUmZg9+byloBArjqTe2nOfc=; b=wNH2gqjdX9ZViuHE2vXms8DOvf38d1ub0VprooOZBMK78CGTiTUaooa39jG1eRi2Bd jsnWsOJrpZ1DmdaibTCyHPDmOi7nx1nsz/ZxMSY9i/zCUOAd2I1VW8sgaVstnCa1w4cs WG2dnpD0ciSC+vf5hwXVdcRPkRCVFN5gi/v75FEuXRfxHEhYOGY61c5pzqtf5YnkNoxC a9ALjHwXZtogQPcxnEYVIcHj496LmZ/pVEGfp+Zhmy8YqrlOXrRhlpKz4RkxZbBSxevO CfXIW+aCmZ3gMjxnU9/vY39KoEEaxMchpOeo5Sk8xn0MpgrNLSEBOZwMyq0kn1CtMiCY QQxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gf2si23359907ejb.154.2021.01.04.02.37.44; Mon, 04 Jan 2021 02:38:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726564AbhADKgn (ORCPT + 99 others); Mon, 4 Jan 2021 05:36:43 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:45945 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbhADKgm (ORCPT ); Mon, 4 Jan 2021 05:36:42 -0500 X-Originating-IP: 90.89.98.255 Received: from localhost.localdomain (lfbn-tou-1-1535-bdcst.w90-89.abo.wanadoo.fr [90.89.98.255]) (Authenticated sender: miquel.raynal@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 195A36003C; Mon, 4 Jan 2021 10:35:59 +0000 (UTC) From: Miquel Raynal To: Sean Nyekjaer , Han Xu , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: =?utf-8?q?Martin_Hundeb=C3=B8ll?= , 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 Date: Mon, 4 Jan 2021 11:35:58 +0100 Message-Id: <20210104103558.9035-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201221100013.2715675-1-sean@geanix.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: d1879af7ce7618e3580fbd89bf4f2fefe4175e6d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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