Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=784f4d5e66ac1d962091e08fe5a4b238ed8c793d Commit: 784f4d5e66ac1d962091e08fe5a4b238ed8c793d Parent: 7dcdcbef5d2b60d1db68fd2c07351f7afd8ad376 Author: David Woodhouse <[EMAIL PROTECTED]> AuthorDate: Sun Oct 22 01:47:45 2006 +0100 Committer: David Woodhouse <[EMAIL PROTECTED]> CommitDate: Sun Oct 22 01:47:45 2006 +0100
[MTD] NAND: Correct setting of chip->oob_poi OOB buffer Signed-off-by: David Woodhouse <[EMAIL PROTECTED]> --- 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 29090c6..f23ab2c 100644 --- 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 - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html