Commit b4cf9c34 authored by Vegard Nossum's avatar Vegard Nossum Committed by Linus Torvalds

FAT: Fix printk format strings

This makes sure printk format strings contain no more than a single line.
Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
[the message was tweaked.]
Signed-off-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f74596d0
...@@ -1295,10 +1295,8 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, ...@@ -1295,10 +1295,8 @@ int fat_fill_super(struct super_block *sb, void *data, int silent,
fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data; fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data;
if (!IS_FSINFO(fsinfo)) { if (!IS_FSINFO(fsinfo)) {
printk(KERN_WARNING printk(KERN_WARNING "FAT: Invalid FSINFO signature: "
"FAT: Did not find valid FSINFO signature.\n" "0x%08x, 0x%08x (sector = %lu)\n",
" Found signature1 0x%08x signature2 0x%08x"
" (sector = %lu)\n",
le32_to_cpu(fsinfo->signature1), le32_to_cpu(fsinfo->signature1),
le32_to_cpu(fsinfo->signature2), le32_to_cpu(fsinfo->signature2),
sbi->fsinfo_sector); sbi->fsinfo_sector);
......
...@@ -55,9 +55,8 @@ void fat_clusters_flush(struct super_block *sb) ...@@ -55,9 +55,8 @@ void fat_clusters_flush(struct super_block *sb)
fsinfo = (struct fat_boot_fsinfo *)bh->b_data; fsinfo = (struct fat_boot_fsinfo *)bh->b_data;
/* Sanity check */ /* Sanity check */
if (!IS_FSINFO(fsinfo)) { if (!IS_FSINFO(fsinfo)) {
printk(KERN_ERR "FAT: Did not find valid FSINFO signature.\n" printk(KERN_ERR "FAT: Invalid FSINFO signature: "
" Found signature1 0x%08x signature2 0x%08x" "0x%08x, 0x%08x (sector = %lu)\n",
" (sector = %lu)\n",
le32_to_cpu(fsinfo->signature1), le32_to_cpu(fsinfo->signature1),
le32_to_cpu(fsinfo->signature2), le32_to_cpu(fsinfo->signature2),
sbi->fsinfo_sector); sbi->fsinfo_sector);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment