mtd: nand: fix typo in comment

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Jan 11 13:59:01 EST 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=12183a20a8baf009bf570ab3db45a27fd6b1fd03
Commit:     12183a20a8baf009bf570ab3db45a27fd6b1fd03
Parent:     7b3480f8b701170c046e1ed362946f5f0d005e13
Author:     Wolfram Sang <w.sang at pengutronix.de>
AuthorDate: Wed Dec 21 23:01:20 2011 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Jan 11 09:45:29 2012 +0000

    mtd: nand: fix typo in comment
    
    Funny one :) "Heck" fits somehow, too, but I am sure it was meant to be "Check".
    
    Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.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 35b4565..8a393f9 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2588,7 +2588,7 @@ int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
 	instr->state = MTD_ERASING;
 
 	while (len) {
-		/* Heck if we have a bad block, we do not erase bad blocks! */
+		/* Check if we have a bad block, we do not erase bad blocks! */
 		if (nand_block_checkbad(mtd, ((loff_t) page) <<
 					chip->page_shift, 0, allowbbt)) {
 			pr_warn("%s: attempt to erase a bad block at page 0x%08x\n",



More information about the linux-mtd-cvs mailing list