projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcdcbe
)
[MTD] NAND: Correct setting of chip->oob_poi OOB buffer
author
David Woodhouse
<dwmw2@infradead.org>
Sun, 22 Oct 2006 00:47:45 +0000
(
01:47
+0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Sun, 22 Oct 2006 00:47:45 +0000
(
01:47
+0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 29090c6d48199894ee3f7425e1bdc931cda03605..f23ab2c70433ebabbe62b838afe63b8010bbadad 100644
(file)
--- a/
drivers/mtd/nand/nand_base.c
+++ b/
drivers/mtd/nand/nand_base.c
@@
-2344,7
+2344,7
@@
int nand_scan_tail(struct mtd_info *mtd)
return -ENOMEM;
/* Set the internal oob buffer location, just after the page data */
- chip->oob_poi = chip->buffers + mtd->writesize;
+ chip->oob_poi = chip->buffers
->databuf
+ mtd->writesize;
/*
* If no default placement scheme is given, select an appropriate one