mtd/grub doc_stage1.h,1.2,1.3 makecsum.c,1.5,1.6

gleixner at infradead.org gleixner at infradead.org
Mon Nov 7 06:16:03 EST 2005


Update of /home/cvs/mtd/grub
In directory phoenix.infradead.org:/tmp/cvs-serv29274/grub

Modified Files:
	doc_stage1.h makecsum.c 
Log Message:
[MTD / JFFS2] Clean up trailing white spaces


Index: doc_stage1.h
===================================================================
RCS file: /home/cvs/mtd/grub/doc_stage1.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- doc_stage1.h	30 Aug 2000 16:36:49 -0000	1.2
+++ doc_stage1.h	7 Nov 2005 11:14:46 -0000	1.3
@@ -50,8 +50,8 @@
 
 #define DoC_2k_CSDN_IO 0x1800
 
-	
-	
+
+
 #define DOC_MODE_RESET 0
 #define DOC_MODE_NORMAL 1
 #define DOC_MODE_RESERVED1 2
@@ -71,7 +71,7 @@
 #define CSDN_CTRL_CLE 2
 #define CSDN_CTRL_CE 1
 
-	
+
 #define NAND_CMD_READ0 0
 #define NAND_CMD_READ1 1
 #define NAND_CMD_RESET 0xff

Index: makecsum.c
===================================================================
RCS file: /home/cvs/mtd/grub/makecsum.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- makecsum.c	1 Sep 2000 02:48:07 -0000	1.5
+++ makecsum.c	7 Nov 2005 11:14:46 -0000	1.6
@@ -15,7 +15,7 @@
 		fprintf(stderr, "Usage: makecsum <stubfile> <stage2> <outfile>\n");
 		exit(1);
 	}
-	
+
 	stubfd = open(argv[1], O_RDONLY);
 	if (stubfd < 0) {
 		perror("open stub file");
@@ -57,7 +57,7 @@
 	close(stubfd);
 
 	/* Read enough of the remainder to calculate the csum */
-	
+
 	len = read(st2fd, buf+768, 16384-768);
 	if (len < 0) {
 		perror("read from stage2 file\n");
@@ -112,7 +112,7 @@
 		close(st2fd);
 		exit(1);
 	}
-	
+
 	/* Now chuck out the rest of the stage2 */
 
 	while (1) {
@@ -124,7 +124,7 @@
 		}
 		if (len == 0)
 			break;
-		
+
 		i = write(outfd, buf, len);
 		if (i < 0) {
 			perror("write output file");
@@ -138,7 +138,7 @@
 			break;
 		}
 	}
-		
+
 	close(outfd);
 	close(st2fd);
 	return retval;





More information about the linux-mtd-cvs mailing list