summaryrefslogtreecommitdiff
path: root/fs/jffs2/debug.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-02-16 03:56:46 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 03:42:14 +0400
commit9bbf29e4757fb152c8673eda0b1e9d507b953df9 (patch)
treeca2462838286fb1e7fe06e4a6fedf78ac36d4904 /fs/jffs2/debug.c
parent5a528957e7c74f1fed73fe20424b7a3421658877 (diff)
downloadlinux-9bbf29e4757fb152c8673eda0b1e9d507b953df9.tar.xz
jffs2: Standardize JFFS_<LEVEL> uses
Use pr_<level> to prefix KBUILD_MODNAME via pr_fmt. Remove obfuscating defines and use constants in pr_<level> No need for a do {} while (0) for single statements. Form of JFFS_<LEVEL> output changes from "JFFS2 notice: " to "jffs2: notice: " Added pr_fmt to xattr.c Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/debug.c')
-rw-r--r--fs/jffs2/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index f8a99a371508..1090eb64b90d 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -267,7 +267,7 @@ void __jffs2_dbg_superblock_counts(struct jffs2_sb_info *c)
do { \
if (sz != c->sz##_size) { \
pr_warn("%s_size mismatch counted 0x%x, c->%s_size 0x%x\n", \
- #sz, #sz, sz, c->sz##_size); \
+ #sz, sz, #sz, c->sz##_size); \
dump = 1; \
} \
} while (0)