Skip to content

Fix OOB checking problem in nand_base.c

Stanley.Miao linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mtd: nand: move the checking the validity of oob into nand_write_oobdrivers/mtd/nand/nand_base.c+37 -322 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Fix OOB checking problem in nand_base.c

on TI OMAPL138 EVM board, the NAND Flash have 22 bytes free in OOB area. When yaffs2 writes the 28-byte tags into NAND OOB area, the NAND subsystem doesn't give any WARNING or ERROR.

Move the checking of validity of oob data from nand_do_write_oob into nand_write_oob to fix this problem.