Re: [PATCH] mtd: spinand: initialize ret in regular page reads

From: Miquel Raynal

Date: Mon Jun 29 2026 - 10:49:02 EST


On Thu, 18 Jun 2026 02:37:49 +0800, Ruoyu Wang wrote:
> spinand_mtd_regular_page_read() returns ret after iterating over the
> requested pages. If the request contains no data or OOB bytes, the
> iterator does not run and ret is not assigned. Initialize it to 0 for the
> empty request path.
>
>

Applied to mtd/fixes, thanks!

[1/1] mtd: spinand: initialize ret in regular page reads
commit: 5d7a08125e69630dc1168d3e9ca5626ded3da807

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