[PATCH] mtd: nand: omap2: Fix oobfree offset

Gupta, Pekon pekon at ti.com
Fri Jul 19 16:54:42 EDT 2013


> 
> The calculation of the oobfree[0].offset is wrong when using BCH8
> and elm.
> 
> The layout->eccbytes is already steps*info->nand.ecc.bytes. The second
> multiplication with steps is too much and will create a value
> larger than the oob area.
> 
> Fixed the calculation.
> 
This is already fixed in 
http://lists.infradead.org/pipermail/linux-mtd/2013-July/047534.html

Can you please pull-in the whole series, and test it ?
http://lists.infradead.org/pipermail/linux-mtd/2013-July/047530.html


with regards, pekon


More information about the linux-mtd mailing list