mtd/drivers/mtd/chips gen_probe.c,1.9,1.10

Joakim Tjernlund jocke at infradead.org
Fri Jan 31 08:35:10 EST 2003


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

Modified Files:
	gen_probe.c 
Log Message:
Initialize chip array to zero.


Index: gen_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/gen_probe.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- gen_probe.c	5 Sep 2002 05:15:32 -0000	1.9
+++ gen_probe.c	31 Jan 2003 13:35:07 -0000	1.10
@@ -57,6 +57,7 @@
 	int i;
 
 	memset(&cfi, 0, sizeof(cfi));
+	memset(&chip[0], 0, sizeof(chip));
 
 	/* Call the probetype-specific code with all permutations of 
 	   interleave and device type, etc. */





More information about the linux-mtd-cvs mailing list