diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-04 19:05:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:53:53 -0400 |
commit | 1d88aa441f25811a55c0ed688add108c0a45613e (patch) | |
tree | 6982d2fe21ebe8e960db34d90911bdb602a42502 /fs/configfs/configfs_internal.h | |
parent | c6686931335757c2b348fc9a74ff564d8bd10f0a (diff) |
fs/configfs: use pr_fmt
Add pr_fmt based on module name.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/configfs/configfs_internal.h')
-rw-r--r-- | fs/configfs/configfs_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/configfs/configfs_internal.h b/fs/configfs/configfs_internal.h index b5f0a3b91f18..bd4a3c167091 100644 --- a/fs/configfs/configfs_internal.h +++ b/fs/configfs/configfs_internal.h | |||
@@ -24,6 +24,12 @@ | |||
24 | * configfs Copyright (C) 2005 Oracle. All rights reserved. | 24 | * configfs Copyright (C) 2005 Oracle. All rights reserved. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #ifdef pr_fmt | ||
28 | #undef pr_fmt | ||
29 | #endif | ||
30 | |||
31 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
32 | |||
27 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
28 | #include <linux/list.h> | 34 | #include <linux/list.h> |
29 | #include <linux/spinlock.h> | 35 | #include <linux/spinlock.h> |