mtd/drivers/mtd/nand nand_base.c,1.122,1.123

gleixner at infradead.org gleixner at infradead.org
Tue Nov 2 17:37:02 EST 2004


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

Modified Files:
	nand_base.c 
Log Message:
Fix typo. Hmm, I start to adopt dwmw2's bad habits. Pointed out by Ed Berube <eberube at gmail.com>

Index: nand_base.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand_base.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- nand_base.c	1 Nov 2004 20:03:57 -0000	1.122
+++ nand_base.c	2 Nov 2004 22:36:59 -0000	1.123
@@ -841,7 +841,7 @@
 		this->write_buf(mtd, this->data_poi, mtd->oobblock);
 		break;
 	default:
-		eccbytes = this->ecc_bytes;
+		eccbytes = this->eccbytes;
 		for (; eccsteps; eccsteps--) {
 			/* enable hardware ecc logic for write */
 			this->enable_hwecc(mtd, NAND_ECC_WRITE);





More information about the linux-mtd-cvs mailing list