mtd/drivers/mtd/nand nand.c,1.58,1.59

David Woodhouse dwmw2 at infradead.org
Tue Oct 21 06:04:40 EDT 2003


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

Modified Files:
	nand.c 
Log Message:
fix undefined variable when verifying writes

Index: nand.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/nand.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- nand.c	17 Oct 2003 12:56:20 -0000	1.58
+++ nand.c	21 Oct 2003 10:04:37 -0000	1.59
@@ -936,6 +936,9 @@
 {
 	int column, page, status, ret = 0;
 	struct nand_chip *this = mtd->priv;
+#ifdef CONFIG_MTD_NAND_VERIFY_WRITE
+	int i;
+#endif
 
 	DEBUG (MTD_DEBUG_LEVEL3, "nand_write_oob: to = 0x%08x, len = %i\n", (unsigned int) to, (int) len);
 




More information about the linux-mtd-cvs mailing list