aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/debug.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-02-15 18:56:46 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-26 19:42:14 -0400
commit9bbf29e4757fb152c8673eda0b1e9d507b953df9 (patch)
treeca2462838286fb1e7fe06e4a6fedf78ac36d4904 /fs/jffs2/debug.c
parent5a528957e7c74f1fed73fe20424b7a3421658877 (diff)
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)
267do { \ 267do { \
268 if (sz != c->sz##_size) { \ 268 if (sz != c->sz##_size) { \
269 pr_warn("%s_size mismatch counted 0x%x, c->%s_size 0x%x\n", \ 269 pr_warn("%s_size mismatch counted 0x%x, c->%s_size 0x%x\n", \
270 #sz, #sz, sz, c->sz##_size); \ 270 #sz, sz, #sz, c->sz##_size); \
271 dump = 1; \ 271 dump = 1; \
272 } \ 272 } \
273} while (0) 273} while (0)