mtd: nand: fix a typo in a commentary

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Mar 11 10:59:06 EST 2011


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=775adc3d44c8076d3e475fabebb61c08421c4421
Commit:     775adc3d44c8076d3e475fabebb61c08421c4421
Parent:     c93ff6bf16523d33e991a1fadde1b8d63eb7cd2c
Author:     Jason Liu <r64343 at freescale.com>
AuthorDate: Fri Feb 25 13:06:18 2011 +0800
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Mar 11 14:22:47 2011 +0000

    mtd: nand: fix a typo in a commentary
    
    Signed-off-by: Jason Liu <r64343 at freescale.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 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) -



More information about the linux-mtd-cvs mailing list