[GIT PULL] mtd: Fixes for 6.18-rc7

Miquel Raynal miquel.raynal at bootlin.com
Mon Nov 17 03:16:14 PST 2025


Hello,

This is a MTD fixes PR for 6.18-rc7.

Thanks,
Miquèl

The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:

  Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-6.18-rc7

for you to fetch changes up to 97315e7c901a1de60e8ca9b11e0e96d0f9253e18:

  mtd: onenand: Pass correct pointer to IRQ handler (2025-11-03 11:37:57 +0100)

----------------------------------------------------------------
Mostly small misc fixes, here they are sorted by sub-subsystem:

ECC fixes:
- Realtek Kconfig fix

SPI NAND fixes:
- Remove unexistent QE bit on FMSH FM25S01A

Raw NAND fixes:
- Prevent DMA device NULL pointer dereference in Cadence driver

MTD devices fixes:
- Possible integer overflow in read/write ioctls
- Fix the IRQ handler pointer in the onenand driver, even if in practice
  it is never dereferenced.

----------------------------------------------------------------
Dan Carpenter (3):
      mtdchar: fix integer overflow in read/write ioctls
      mtd: nand: realtek-ecc: Fix a IS_ERR() vs NULL bug in probe
      mtd: onenand: Pass correct pointer to IRQ handler

Geert Uytterhoeven (1):
      mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA

Li Qiang (1):
      mtd: rawnand: realtek: Make rtl_ecc_engine_ops const

Mikhail Kshevetskiy (1):
      mtd: spinand: fmsh: remove QE bit for FM25S01A flash

Niravkumar L Rabara (1):
      mtd: rawnand: cadence: fix DMA device NULL pointer dereference

 drivers/mtd/mtdchar.c                          | 6 ++++--
 drivers/mtd/nand/Kconfig                       | 2 +-
 drivers/mtd/nand/ecc-realtek.c                 | 6 +++---
 drivers/mtd/nand/onenand/onenand_samsung.c     | 2 +-
 drivers/mtd/nand/raw/cadence-nand-controller.c | 3 ++-
 drivers/mtd/nand/spi/fmsh.c                    | 2 +-
 6 files changed, 12 insertions(+), 9 deletions(-)



More information about the linux-mtd mailing list