diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-06 23:36:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-07 01:08:10 +0200 |
commit | 14da17f9c4a880e3418f7f04071df3cb2e8636e8 (patch) | |
tree | 304cf850a7337b83a5eef2720e23a9dff48469b4 /fs/hpfs/buffer.c | |
parent | fs/hpfs: convert printk to pr_foo() (diff) | |
download | linux-14da17f9c4a880e3418f7f04071df3cb2e8636e8.tar.xz linux-14da17f9c4a880e3418f7f04071df3cb2e8636e8.zip |
fs/hpfs: use pr_fmt for logging
Also remove redundant level names (warning:...)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs/buffer.c')
-rw-r--r-- | fs/hpfs/buffer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/hpfs/buffer.c b/fs/hpfs/buffer.c index 4b61be32a91d..e5f62d4cebd8 100644 --- a/fs/hpfs/buffer.c +++ b/fs/hpfs/buffer.c @@ -55,7 +55,7 @@ void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head if (bh != NULL) return bh->b_data; else { - pr_warn("HPFS: hpfs_map_sector: read error\n"); + pr_warn("hpfs_map_sector: read error\n"); return NULL; } } @@ -76,7 +76,7 @@ void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head set_buffer_uptodate(bh); return bh->b_data; } else { - pr_warn("HPFS: hpfs_get_sector: getblk failed\n"); + pr_warn("hpfs_get_sector: getblk failed\n"); return NULL; } } @@ -93,7 +93,7 @@ void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffe cond_resched(); if (secno & 3) { - pr_warn("HPFS: hpfs_map_4sectors: unaligned read\n"); + pr_warn("hpfs_map_4sectors: unaligned read\n"); return NULL; } @@ -112,7 +112,7 @@ void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffe qbh->data = data = kmalloc(2048, GFP_NOFS); if (!data) { - pr_warn("HPFS: hpfs_map_4sectors: out of memory\n"); + pr_warn("hpfs_map_4sectors: out of memory\n"); goto bail4; } @@ -145,7 +145,7 @@ void *hpfs_get_4sectors(struct super_block *s, unsigned secno, hpfs_lock_assert(s); if (secno & 3) { - pr_warn("HPFS: hpfs_get_4sectors: unaligned read\n"); + pr_warn("hpfs_get_4sectors: unaligned read\n"); return NULL; } @@ -161,7 +161,7 @@ void *hpfs_get_4sectors(struct super_block *s, unsigned secno, } if (!(qbh->data = kmalloc(2048, GFP_NOFS))) { - pr_warn("HPFS: hpfs_get_4sectors: out of memory\n"); + pr_warn("hpfs_get_4sectors: out of memory\n"); goto bail4; } return qbh->data; |