rpms/kernel/devel linux-2.6-debug-sizeof-structs.patch,1.2,1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 20 21:45:31 UTC 2006


Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22240

Modified Files:
	linux-2.6-debug-sizeof-structs.patch 
Log Message:
typing fixes

linux-2.6-debug-sizeof-structs.patch:
 main.c |   11 +++++++++++
 1 files changed, 11 insertions(+)

Index: linux-2.6-debug-sizeof-structs.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-debug-sizeof-structs.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- linux-2.6-debug-sizeof-structs.patch	18 Sep 2006 17:25:06 -0000	1.2
+++ linux-2.6-debug-sizeof-structs.patch	20 Sep 2006 21:45:29 -0000	1.3
@@ -15,13 +15,13 @@
  	smp_commence();
  #endif
 +
-+	printk(KERN_DEBUG "sizeof(vma)=%d bytes\n", sizeof(struct vm_area_struct));
-+	printk(KERN_DEBUG "sizeof(page)=%d bytes\n", sizeof(struct page));
-+	printk(KERN_DEBUG "sizeof(inode)=%d bytes\n", sizeof(struct inode));
-+	printk(KERN_DEBUG "sizeof(dentry)=%d bytes\n", sizeof(struct dentry));
-+	printk(KERN_DEBUG "sizeof(ext3inode)=%d bytes\n", sizeof(struct ext3_inode_info));
-+	printk(KERN_DEBUG "sizeof(buffer_head)=%d bytes\n", sizeof(struct buffer_head));
-+	printk(KERN_DEBUG "sizeof(skbuff)=%d bytes\n", sizeof(struct sk_buff));
++	printk(KERN_DEBUG "sizeof(vma)=%u bytes\n", (unsigned int) sizeof(struct vm_area_struct));
++	printk(KERN_DEBUG "sizeof(page)=%u bytes\n", (unsigned int) sizeof(struct page));
++	printk(KERN_DEBUG "sizeof(inode)=%u bytes\n", (unsigned int) sizeof(struct inode));
++	printk(KERN_DEBUG "sizeof(dentry)=%u bytes\n", (unsigned int) sizeof(struct dentry));
++	printk(KERN_DEBUG "sizeof(ext3inode)=%u bytes\n", (unsigned int) sizeof(struct ext3_inode_info));
++	printk(KERN_DEBUG "sizeof(buffer_head)=%u bytes\n", (unsigned int) sizeof(struct buffer_head));
++	printk(KERN_DEBUG "sizeof(skbuff)=%u bytes\n", (unsigned int) sizeof(struct sk_buff));
  }
  
  #endif




More information about the fedora-cvs-commits mailing list