summaryrefslogtreecommitdiff
path: root/fs/jffs2/xattr.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/xattr.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/xattr.c')
-rw-r--r--fs/jffs2/xattr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/jffs2/xattr.c b/fs/jffs2/xattr.c
index 3e93cdd19005..b55b803eddcb 100644
--- a/fs/jffs2/xattr.c
+++ b/fs/jffs2/xattr.c
@@ -9,6 +9,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fs.h>