diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-06 23:36:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-07 01:08:09 +0200 |
commit | f38cfb2564f5fead53eebd9617258ee0376b1906 (patch) | |
tree | 6905553c7bae9f09a348dcf8d44a84847c50d464 /fs/coda/coda_linux.h | |
parent | fs/coda: replace printk by pr_foo() (diff) | |
download | linux-f38cfb2564f5fead53eebd9617258ee0376b1906.tar.xz linux-f38cfb2564f5fead53eebd9617258ee0376b1906.zip |
fs/coda: logging prefix uniformization
- Add pr_fmt based on module name.
- Remove Coda: coda: from pr_foo()
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/coda/coda_linux.h')
-rw-r--r-- | fs/coda/coda_linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/coda/coda_linux.h b/fs/coda/coda_linux.h index a3bf7a873ad2..d42b725b1d21 100644 --- a/fs/coda/coda_linux.h +++ b/fs/coda/coda_linux.h @@ -12,6 +12,12 @@ #ifndef _LINUX_CODA_FS #define _LINUX_CODA_FS +#ifdef pr_fmt +#undef pr_fmt +#endif + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/kernel.h> #include <linux/param.h> #include <linux/mm.h> |