[PATCH v2] mtd: rawnand: abort BBT creation on scan failure

Miquel Raynal miquel.raynal at bootlin.com
Thu Nov 19 04:37:25 PST 2026


On Wed, 18 Nov 2026 10:37:28 -0700, James Hilliard wrote:
> A non-ECC error reading a factory bad block marker from OOB stops the
> scan. check_create() ignores the error and can write the partial table
> to flash as both the primary and the mirror. Both copies then list
> unscanned factory-bad blocks as good.
> 
> Return the scan error before setting the table versions or writing
> either copy.
> 
> [...]

Applied to nand/next, thanks!

[1/1] mtd: rawnand: abort BBT creation on scan failure
      commit: 27c61c520e9444d0b16cd8e10c13d8b67f80adee

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