Skip to contentSkip to conversation

mtd: Fixes for 7.2-rc4

GIT PULL Merged Miquel Raynal 2 participants 2 messages Jul 17 Memory technology devices (MTD)

lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

Hello,

This is a fixes MTD PR for 7.2-rc4.

Thanks,
Miquèl

The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-7.2-rc4

for you to fetch changes up to 2b533e775aec580cf60074417f4ca00ac9cf3580:

Revert "mtd: maps: remove uclinux map driver" (2026-07-03 15:46:28 +0200)

----------------------------------------------------------------
Among the most important fixes that we have here, there are:
- the revert of the uclinux map driver which was presumably no longer used but in fact was
- the use of SPI match data to get chip capabilities in the mchp23k256 driver
- several fixes addressing the newly introduced virt-concat support
- a missing build dependency on ndfc

There is as well the usual load (if not actually bigger than ususal) of uninitialized variables, leaks, double free, and AI fuzzed issues being fixed.

----------------------------------------------------------------
Arnd Bergmann (1):
mtd: rawnand: ndfc: add CONFIG_OF dependency

Deepanshu Kartikey (1):
mtd: mtdpart: validate partition bounds in mtd_add_partition()

Harshit Mogalapalli (2):
mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy_joins()
mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy()

Miquel Raynal (1):
Revert "mtd: maps: remove uclinux map driver"

Nikolay Ivchenko (1):
mtd: mtdpart: fix uninitialized erasesize on MTDPART_OFS_RETAIN error path

Pengpeng Hou (9):
mtd: nand: ecc-mtk: handle ECC clock enable failures
mtd: rawnand: ingenic: handle ECC clock enable failures
mtd: mtdswap: remove debugfs stats file on teardown
mtd: nand: mtk-ecc: stop on ECC idle timeouts
mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout
mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout
mtd: mchp23k256: use SPI match data for chip caps
mtd: rawnand: fsl_ifc: return errors for failed page reads
mtd: onenand: samsung: report DMA completion timeouts

Rosen Penev (1):
mtd: rawnand: ndfc: fix gcc uninitialized var

Ruoyu Wang (1):
mtd: spinand: initialize ret in regular page reads

Xu Rao (1):
mtd: virt-concat: free duplicate generated name

Xue Lei (1):
mtd: fix double free and WARN_ON in add_mtd_device() error paths

 drivers/mtd/devices/mchp23k256.c           |   2 +-
 drivers/mtd/maps/Kconfig                   |   6 ++
 drivers/mtd/maps/Makefile                  |   1 +
 drivers/mtd/maps/uclinux.c                 | 118 +++++++++++++++++++++++++++++
 drivers/mtd/mtd_virt_concat.c              |   8 +-
 drivers/mtd/mtdcore.c                      |  23 +++++-
 drivers/mtd/mtdpart.c                      |   8 ++
 drivers/mtd/mtdswap.c                      |   5 +-
 drivers/mtd/nand/ecc-mtk.c                 |  24 ++++--
 drivers/mtd/nand/onenand/onenand_samsung.c |   7 +-
 drivers/mtd/nand/raw/Kconfig               |   1 +
 drivers/mtd/nand/raw/fsl_ifc_nand.c        |   9 ++-
 drivers/mtd/nand/raw/ingenic/ingenic_ecc.c |   7 +-
 drivers/mtd/nand/raw/lpc32xx_mlc.c         |  12 ++-
 drivers/mtd/nand/raw/lpc32xx_slc.c         |  12 ++-
 drivers/mtd/nand/raw/ndfc.c                |   2 +-
 drivers/mtd/nand/spi/core.c                |   2 +-
 17 files changed, 224 insertions(+), 23 deletions(-)
 create mode 100644 drivers/mtd/maps/uclinux.c

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

merge bot Merged
#1 lore raw
The pull request you sent on Fri, 17 Jul 2026 17:45:57 +0200:

The pull request you sent on Fri, 17 Jul 2026 17:45:57 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-7.2-rc4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/af5e34a41cd607c00ef752e00331736570992354

Thank you!

Signature · 6 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/