]> Pileus Git - ~andy/linux/commit
mtd: nand: omap: fix ecclayout->oobfree->length
authorPekon Gupta <pekon@ti.com>
Mon, 17 Feb 2014 07:41:25 +0000 (13:11 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 23 Feb 2014 22:49:57 +0000 (14:49 -0800)
commitbb38eefb6858ce16b34716145b9597a5680aa54c
tree7694638dbcbd998a78c9b526f57b59ac828c3591
parentaa6092f9835893290e77c3e24649def49dac1583
mtd: nand: omap: fix ecclayout->oobfree->length

This patch excludes reserved-marker byte-position from oobfree->length
calculation. Thus all bytes from oobfree->offset till end of OOB are free.

CC: <stable@vger.kernel.org> # 3.13.x+
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/omap2.c