diff options
Diffstat (limited to 'fs/ufs')
-rw-r--r-- | fs/ufs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 42425999d2d3..c8339e566380 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c | |||
@@ -100,7 +100,7 @@ void ufs_print_super_stuff(struct super_block *sb, | |||
100 | struct ufs_super_block_third * usb3) | 100 | struct ufs_super_block_third * usb3) |
101 | { | 101 | { |
102 | printk("ufs_print_super_stuff\n"); | 102 | printk("ufs_print_super_stuff\n"); |
103 | printk("size of usb: %u\n", sizeof(struct ufs_super_block)); | 103 | printk("size of usb: %zu\n", sizeof(struct ufs_super_block)); |
104 | printk(" magic: 0x%x\n", fs32_to_cpu(sb, usb3->fs_magic)); | 104 | printk(" magic: 0x%x\n", fs32_to_cpu(sb, usb3->fs_magic)); |
105 | printk(" sblkno: %u\n", fs32_to_cpu(sb, usb1->fs_sblkno)); | 105 | printk(" sblkno: %u\n", fs32_to_cpu(sb, usb1->fs_sblkno)); |
106 | printk(" cblkno: %u\n", fs32_to_cpu(sb, usb1->fs_cblkno)); | 106 | printk(" cblkno: %u\n", fs32_to_cpu(sb, usb1->fs_cblkno)); |
@@ -144,7 +144,7 @@ void ufs2_print_super_stuff( | |||
144 | struct ufs_super_block *usb) | 144 | struct ufs_super_block *usb) |
145 | { | 145 | { |
146 | printk("ufs_print_super_stuff\n"); | 146 | printk("ufs_print_super_stuff\n"); |
147 | printk("size of usb: %u\n", sizeof(struct ufs_super_block)); | 147 | printk("size of usb: %zu\n", sizeof(struct ufs_super_block)); |
148 | printk(" magic: 0x%x\n", fs32_to_cpu(sb, usb->fs_magic)); | 148 | printk(" magic: 0x%x\n", fs32_to_cpu(sb, usb->fs_magic)); |
149 | printk(" fs_size: %llu\n", | 149 | printk(" fs_size: %llu\n", |
150 | (unsigned long long)fs64_to_cpu(sb, usb->fs_u11.fs_u2.fs_size)); | 150 | (unsigned long long)fs64_to_cpu(sb, usb->fs_u11.fs_u2.fs_size)); |
@@ -172,7 +172,7 @@ void ufs2_print_super_stuff( | |||
172 | void ufs_print_cylinder_stuff(struct super_block *sb, struct ufs_cylinder_group *cg) | 172 | void ufs_print_cylinder_stuff(struct super_block *sb, struct ufs_cylinder_group *cg) |
173 | { | 173 | { |
174 | printk("\nufs_print_cylinder_stuff\n"); | 174 | printk("\nufs_print_cylinder_stuff\n"); |
175 | printk("size of ucg: %u\n", sizeof(struct ufs_cylinder_group)); | 175 | printk("size of ucg: %zu\n", sizeof(struct ufs_cylinder_group)); |
176 | printk(" magic: %x\n", fs32_to_cpu(sb, cg->cg_magic)); | 176 | printk(" magic: %x\n", fs32_to_cpu(sb, cg->cg_magic)); |
177 | printk(" time: %u\n", fs32_to_cpu(sb, cg->cg_time)); | 177 | printk(" time: %u\n", fs32_to_cpu(sb, cg->cg_time)); |
178 | printk(" cgx: %u\n", fs32_to_cpu(sb, cg->cg_cgx)); | 178 | printk(" cgx: %u\n", fs32_to_cpu(sb, cg->cg_cgx)); |