From 14da17f9c4a880e3418f7f04071df3cb2e8636e8 Mon Sep 17 00:00:00 2001 From: Fabian Frederick Date: Fri, 6 Jun 2014 14:36:34 -0700 Subject: fs/hpfs: use pr_fmt for logging Also remove redundant level names (warning:...) Signed-off-by: Fabian Frederick Cc: Mikulas Patocka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/hpfs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/hpfs/dir.c') diff --git a/fs/hpfs/dir.c b/fs/hpfs/dir.c index 11ea93637e28..3377eba73c13 100644 --- a/fs/hpfs/dir.c +++ b/fs/hpfs/dir.c @@ -127,7 +127,7 @@ static int hpfs_readdir(struct file *file, struct dir_context *ctx) if (ctx->pos == 12) goto out; if (ctx->pos == 3 || ctx->pos == 4 || ctx->pos == 5) { - pr_warn("HPFS: warning: pos==%d\n", (int)ctx->pos); + pr_warn("pos==%d\n", (int)ctx->pos); goto out; } if (ctx->pos == 0) { -- cgit v1.2.3