diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-04 16:05:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:53:53 -0700 |
commit | 1d88aa441f25811a55c0ed688add108c0a45613e (patch) | |
tree | 6982d2fe21ebe8e960db34d90911bdb602a42502 /fs/configfs/configfs_internal.h | |
parent | c6686931335757c2b348fc9a74ff564d8bd10f0a (diff) | |
download | op-kernel-dev-1d88aa441f25811a55c0ed688add108c0a45613e.zip op-kernel-dev-1d88aa441f25811a55c0ed688add108c0a45613e.tar.gz |
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 b5f0a3b..bd4a3c1 100644 --- a/fs/configfs/configfs_internal.h +++ b/fs/configfs/configfs_internal.h @@ -24,6 +24,12 @@ * configfs Copyright (C) 2005 Oracle. All rights reserved. */ +#ifdef pr_fmt +#undef pr_fmt +#endif + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/slab.h> #include <linux/list.h> #include <linux/spinlock.h> |