]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: add check for out of page read
authorJason Liu <r64343@freescale.com>
Fri, 19 Nov 2010 08:40:45 +0000 (16:40 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:31:44 +0000 (16:31 +0000)
commitba7d17af4bd49a0e3154da4870ddd54d62598263
tree20764c02a1ee5900e101c04d5234a992f89ca4b7
parent5778b270810b21e7c3e47dcac3b1ed6d87eadf27
mtd: nand: add check for out of page read

When run mtd_oobtest case, there will be one error for step(4),
which turned out it need add one check for out of page read in
nand_do_read_oob just like mtd_do_write_oob did it already.
This commit also fix one typo error for comments in mtd_do_write_oob

Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c