[PATCH v2 0/2] mtd: slram: fix failed registration cleanup

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 11 00:21:10 PDT 2026


On Tue, 09 Jun 2026 16:45:26 +0800, Ruoyu Wang wrote:
> This splits the previous slram patch into a backportable fix and a
> follow-up cleanup.
> 
> Patch 1 fixes the dangling list entry on register_device() failure and
> carries Fixes and stable tags.
> 
> Patch 2 is a cleanup which uses local variables while initializing the
> new entry and publishes the list entry only after mtd_device_register()
> succeeds.
> 
> [...]

Applied to mtd/next, thanks!

[1/2] mtd: slram: remove failed entries from the device list
      commit: 36f1648644d769c496a8e47e53603e863e358d73
[2/2] mtd: slram: simplify register_device() cleanup
      commit: 4fe97a54daddb221009964161fb362b2b930d657

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list