diff options
author | Joe Perches <joe@perches.com> | 2012-02-15 18:56:46 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-26 19:42:14 -0400 |
commit | 9bbf29e4757fb152c8673eda0b1e9d507b953df9 (patch) | |
tree | ca2462838286fb1e7fe06e4a6fedf78ac36d4904 /fs/jffs2/debug.c | |
parent | 5a528957e7c74f1fed73fe20424b7a3421658877 (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.c | 2 |
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) | |||
267 | do { \ | 267 | do { \ |
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) |