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=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,USER_AGENT_GIT autolearn=ham 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 D9D30C433ED for ; Mon, 10 May 2021 09:14:45 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6FC2B61432 for ; Mon, 10 May 2021 09:14:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6FC2B61432 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gy0KEvcckE/AoLz1NooQDOMHkH4VRfVvoVbBJPcIKPE=; b=rhvBMe8b4FJHHAAp/l7ZZv6w9 L0wgp2SKthXppAJa+ZoEatvj1i/+fet1Y1g3+5IxxmXGLXVyt0OIINg/XHzBHyDjbBBYc8qW44Mx0 KJ7gpttsAd3jXI0nEIbynoUOZrvscTJRUQEsKL/2Qqho14skdqjSltpZHaLRqQ5r+YgE4mv3CE3ip /Fyp9Q3Shpc6wI2/mh6VO3rT450HUBzL6K9frWZpKe1DwdCapjZA44a+MCYFLz9xqYhlaAfYIcsn6 kfVGmbTbbFnaTzOGovdArBoX1h85RAELDC5E/d/0BmIo2kDczBWoevptJV2wxkSUzk/R8cd9Amqr2 dOlkNYSBg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg1z0-00DjDn-BZ; Mon, 10 May 2021 09:13:46 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg1v6-00DiP5-Jr for linux-mtd@desiato.infradead.org; Mon, 10 May 2021 09:09:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=CaF3nKXeiG/uYZ9anJqbofpNgPPYk4fAnnedZgCHQu0=; b=FpL95B65I0JtTnHNGXV9t76AEq snFmhP0m+FA8SAq3av7jwLpjhu+igG1Brzc23tRWt+QuS52xiC7kXo9FLbjhD7+vK/soHm0Rg31/P +I25G22qDhZubKunk9DbcMm/a/7wnpoIGxL9ki2XbkiStBQC7GeNMIKCwnCkooEjpjXA2WSkd/Mzp LvhtWu1johQEPwg3sVogGDos/CQdaOLvRV0ZjUL5pONm5Rg1yYVPZdY4o21USxUdL9xcqF8e6fNOo ydoV/g37NPyZxpdmq0+Qp7wBbWtcdJ6qcDWQyleE3hCFaRAnCOciDCO95SQq9h/EXJyoicnHyn/hB MyCgatUA==; Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg1v3-008RUJ-Vs for linux-mtd@lists.infradead.org; Mon, 10 May 2021 09:09:43 +0000 X-Originating-IP: 90.89.138.59 Received: from xps13.home (lfbn-tou-1-1325-59.w90-89.abo.wanadoo.fr [90.89.138.59]) (Authenticated sender: miquel.raynal@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id B41101BF21A; Mon, 10 May 2021 09:09:39 +0000 (UTC) From: Miquel Raynal To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , linux-mtd@lists.infradead.org Cc: stable@vger.kernel.org Subject: Re: [PATCH v3 1/7] mtd: rawnand: cs553x: Fix external use of SW Hamming ECC helper Date: Mon, 10 May 2021 11:09:39 +0200 Message-Id: <20210510090939.3777-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210413161840.345208-2-miquel.raynal@bootlin.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'4476397eda3ba791b7896e60b5cbaa022f41728b' X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_020942_177812_912920A0 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Tue, 2021-04-13 at 16:18:34 UTC, Miquel Raynal wrote: > Since the Hamming software ECC engine has been updated to become a > proper and independent ECC engine, it is now mandatory to either > initialize the engine before using any one of his functions or use one > of the bare helpers which only perform the calculations. As there is no > actual need for a proper ECC initialization, let's just use the bare > helper instead of the rawnand one. > > Fixes: 90ccf0a0192f ("mtd: nand: ecc-hamming: Rename the exported functions") > Cc: stable@vger.kernel.org > Signed-off-by: Miquel Raynal Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/