diff options
author | Jason Liu <r64343@freescale.com> | 2011-02-25 13:06:18 +0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-03-11 14:22:47 +0000 |
commit | 775adc3d44c8076d3e475fabebb61c08421c4421 (patch) | |
tree | 49b97d56a7b46d5b94204c5ed5bcfca2fb2ee817 /drivers/mtd/nand | |
parent | c93ff6bf16523d33e991a1fadde1b8d63eb7cd2c (diff) | |
download | kernel_samsung_aries-775adc3d44c8076d3e475fabebb61c08421c4421.zip kernel_samsung_aries-775adc3d44c8076d3e475fabebb61c08421c4421.tar.gz kernel_samsung_aries-775adc3d44c8076d3e475fabebb61c08421c4421.tar.bz2 |
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')
-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 a9c6ce7..da76040 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, return -EINVAL; } - /* Do not allow reads past end of device */ + /* Do not allow write past end of device */ if (unlikely(to >= mtd->size || ops->ooboffs + ops->ooblen > ((mtd->size >> chip->page_shift) - |