From f38cfb2564f5fead53eebd9617258ee0376b1906 Mon Sep 17 00:00:00 2001 From: Fabian Frederick Date: Fri, 6 Jun 2014 14:36:19 -0700 Subject: fs/coda: logging prefix uniformization - Add pr_fmt based on module name. - Remove Coda: coda: from pr_foo() Signed-off-by: Fabian Frederick Cc: Jan Harkes Cc: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/coda/coda_linux.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fs/coda/coda_linux.h') 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 #include #include -- cgit