[PATCH] mtd: inftlcore: Add error check for inftl_read_oob()

Miquel Raynal miquel.raynal at bootlin.com
Mon Apr 7 00:15:30 PDT 2025


On Wed, 02 Apr 2025 11:16:43 +0800, Wentao Liang wrote:
> In INFTL_findwriteunit(), the return value of inftl_read_oob()
> need to be checked. A proper implementation can be
> found in INFTL_deleteblock(). The status will be set as
> SECTOR_IGNORE to break from the while-loop correctly
> if the inftl_read_oob() fails.
> 
> 
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: inftlcore: Add error check for inftl_read_oob()
      commit: d027951dc85cb2e15924c980dc22a6754d100c7c

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