mtd/util summary.h,1.6,1.7

havasi at infradead.org havasi at infradead.org
Wed Feb 15 04:42:36 EST 2006


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv10429

Modified Files:
	summary.h 
Log Message:
[JFFS2] Alligment fix. (noticed on Intel XScale big endian)

Thanks for Robert Liu.



Index: summary.h
===================================================================
RCS file: /home/cvs/mtd/util/summary.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- summary.h	7 Nov 2005 11:15:14 -0000	1.6
+++ summary.h	15 Feb 2006 09:42:34 -0000	1.7
@@ -51,7 +51,7 @@
 struct jffs2_sum_unknown_flash
 {
 	jint16_t nodetype;	/* node type */
-};
+} __attribute__((packed));
 
 struct jffs2_sum_inode_flash
 {
@@ -88,7 +88,7 @@
 {
 	union jffs2_sum_mem *next;
 	jint16_t nodetype;	/* node type */
-};
+} __attribute__((packed));
 
 struct jffs2_sum_inode_mem
 {





More information about the linux-mtd-cvs mailing list