[PATCH 0/8] Cleanup series about Hamming helpers

Miquel Raynal miquel.raynal at bootlin.com
Tue Sep 28 15:14:59 PDT 2021


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




More information about the linux-arm-kernel mailing list