projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d05cd5
)
[MTD NAND] Fix lookup error in nand_get_flash_type()
author
David Woodhouse
<dwmw2@infradead.org>
Sat, 15 Jul 2006 12:26:18 +0000
(13:26 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Sat, 15 Jul 2006 12:26:18 +0000
(13:26 +0100)
Spotted by liyu <liyu@ccoss.com.cn>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/nand_base.c
b/drivers/mtd/nand/nand_base.c
index cffd66309ffa00e0fa1afd98f68ee061fe25e5e2..119d17cdb780c2ee4c5c200e5296fac9acd9efdc 100644
(file)
--- a/
drivers/mtd/nand/nand_base.c
+++ b/
drivers/mtd/nand/nand_base.c
@@
-2222,7
+2222,7
@@
static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
}
/* Try to identify manufacturer */
- for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_id++) {
+ for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_id
x
++) {
if (nand_manuf_ids[maf_idx].id == *maf_id)
break;
}