diff options
author | Jason Liu <r64343@freescale.com> | 2011-02-25 00:06:18 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-03-11 09:22:47 -0500 |
commit | 775adc3d44c8076d3e475fabebb61c08421c4421 (patch) | |
tree | 49b97d56a7b46d5b94204c5ed5bcfca2fb2ee817 /drivers/mtd/nand/nand_base.c | |
parent | c93ff6bf16523d33e991a1fadde1b8d63eb7cd2c (diff) |
mtd: nand: fix a typo in a commentary
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>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index a9c6ce745767..da7604050347 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -2377,7 +2377,7 @@ static int nand_do_write_oob(struct mtd_info *mtd, loff_t to, | |||
2377 | return -EINVAL; | 2377 | return -EINVAL; |
2378 | } | 2378 | } |
2379 | 2379 | ||
2380 | /* Do not allow reads past end of device */ | 2380 | /* Do not allow write past end of device */ |
2381 | if (unlikely(to >= mtd->size || | 2381 | if (unlikely(to >= mtd->size || |
2382 | ops->ooboffs + ops->ooblen > | 2382 | ops->ooboffs + ops->ooblen > |
2383 | ((mtd->size >> chip->page_shift) - | 2383 | ((mtd->size >> chip->page_shift) - |