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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15E6AC433FE for ; Tue, 28 Sep 2021 22:15:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0058C61391 for ; Tue, 28 Sep 2021 22:15:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243094AbhI1WQ6 (ORCPT ); Tue, 28 Sep 2021 18:16:58 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:52935 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243073AbhI1WQv (ORCPT ); Tue, 28 Sep 2021 18:16:51 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 0E1831C0006; Tue, 28 Sep 2021 22:15:07 +0000 (UTC) From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus Cc: , , , Vladimir Zapolskiy , Miquel Raynal Subject: [PATCH 0/8] Cleanup series about Hamming helpers Date: Wed, 29 Sep 2021 00:14:59 +0200 Message-Id: <20210928221507.199198-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, The detailed description is available in each patch description but basically: * The FSMC driver was (I believe) still broken so here is a patch for that. * As requested by Linus when he pulled a series of fixes during the 5.13 cycle, the need for declaring individual indentical helpers in each driver using the "raw" Hamming ECC helpers was unjustified: - Here is a proposal for simplifying the situation - Followed by a series of revert (no need to backport these, it's just general cleanup). Thanks, Miquèl Miquel Raynal (8): mtd: rawnand: fsmc: Fix use of SM ORDER mtd: rawnand: Let callers use the bare Hamming helpers Revert "mtd: rawnand: txx9ndfmc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: tmio: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: sharpsl: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: ndfc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: lpc32xx_slc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: cs553x: Fix external use of SW Hamming ECC helper" drivers/mtd/nand/ecc-sw-hamming.c | 7 ++++--- drivers/mtd/nand/raw/cs553x_nand.c | 12 +----------- drivers/mtd/nand/raw/fsmc_nand.c | 4 +++- drivers/mtd/nand/raw/lpc32xx_slc.c | 15 +-------------- drivers/mtd/nand/raw/ndfc.c | 12 +----------- drivers/mtd/nand/raw/sharpsl.c | 12 +----------- drivers/mtd/nand/raw/tmio_nand.c | 8 +++----- drivers/mtd/nand/raw/txx9ndfmc.c | 5 ++--- 8 files changed, 16 insertions(+), 59 deletions(-) -- 2.27.0