mtd/drivers/mtd cmdline.c,1.1,1.2

Marius Groeger mag at infradead.org
Mon Apr 29 09:54:00 EDT 2002


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

Modified Files:
	cmdline.c 
Log Message:
Exit gracefully if mtdparts= actually is NOT given on the command line.


Index: cmdline.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/cmdline.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cmdline.c	23 Apr 2002 13:52:15 -0000	1.1
+++ cmdline.c	29 Apr 2002 13:53:58 -0000	1.2
@@ -212,7 +212,7 @@
 {
 	cmdline_parsed = 1;
 
-	for(;;)
+	for( ; s != NULL; )
 	{
 		struct cmdline_mtd_partition *this_mtd;
 		struct mtd_partition *parts;





More information about the linux-mtd-cvs mailing list