mtd/drivers/mtd afs.c,1.7,1.8
rmk at infradead.org
rmk at infradead.org
Sat May 4 04:49:12 EDT 2002
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv5927
Modified Files:
afs.c
Log Message:
Ensure initialisation of afs mtdpart structures
Index: afs.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/afs.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- afs.c 1 Nov 2001 20:04:54 -0000 1.7
+++ afs.c 4 May 2002 08:49:09 -0000 1.8
@@ -169,6 +169,7 @@
if (!parts)
return -ENOMEM;
+ memset(parts, 0, sz);
str = (char *)(parts + idx);
/*
More information about the linux-mtd-cvs
mailing list