mtd/drivers/mtd/nand nand_base.c,1.101,1.102

dbrown at infradead.org dbrown at infradead.org
Wed Jun 16 22:38:54 EDT 2004


Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv7493/drivers/mtd/nand

Modified Files:
	nand_base.c 
Log Message:
Modify oobreadlen, not mtd->oobsize.


Index: nand_base.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_base.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- nand_base.c	16 Jun 2004 23:47:06 -0000	1.101
+++ nand_base.c	17 Jun 2004 02:38:51 -0000	1.102
@@ -1094,7 +1094,7 @@
 
 	oobreadlen = mtd->oobsize;
 	if (this->options & NAND_HWECC_SYNDROME) 
-		mdt->oobsize -= oobsel->eccbytes;
+		oobreadlen -= oobsel->eccbytes;
 
 	/* Loop until all data read */
 	while (read < len) {





More information about the linux-mtd-cvs mailing list