projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3480f
)
mtd: nand: fix typo in comment
author
Wolfram Sang
<
[email protected]
>
Wed, 21 Dec 2011 22:01:20 +0000
(23:01 +0100)
committer
David Woodhouse
<
[email protected]
>
Wed, 11 Jan 2012 09:45:29 +0000
(09:45 +0000)
Funny one :) "Heck" fits somehow, too, but I am sure it was meant to be "Check".
Signed-off-by: Wolfram Sang <
[email protected]
>
Signed-off-by: Artem Bityutskiy <
[email protected]
>
Signed-off-by: David Woodhouse <
[email protected]
>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nand_base.c
b/drivers/mtd/nand/nand_base.c
index 35b4565050f1430d425ed3615d3c4a806cda4b7a..8a393f9e6027d1be3dcf3d149dfc277e8941fca2 100644
(file)
--- 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) {
- /*
H
eck if we have a bad block, we do not erase bad blocks! */
+ /*
Ch
eck 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",