summaryrefslogtreecommitdiff
path: root/fs/qnx6/qnx6.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-09 01:23:05 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 02:57:26 +0400
commite6c3261653a22f7481791e02fe19d11faac214fb (patch)
tree56f3364872d18d23495b73de55f3037dd56cb803 /fs/qnx6/qnx6.h
parente00d5b5ad70c6c4fb978fe843c0bbb3294d63223 (diff)
downloadlinux-e6c3261653a22f7481791e02fe19d11faac214fb.tar.xz
fs/qnx6: use pr_fmt and __func__ in logging
Remove "qnx6:" and "qnx6: " from each logging instruction. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joe Perches <joe@perches.com> Cc: Kai Bankett <chaosman@ontika.net> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/qnx6/qnx6.h')
-rw-r--r--fs/qnx6/qnx6.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/qnx6/qnx6.h b/fs/qnx6/qnx6.h
index b00fcc960d37..b0aceda59c36 100644
--- a/fs/qnx6/qnx6.h
+++ b/fs/qnx6/qnx6.h
@@ -10,6 +10,12 @@
*
*/
+#ifdef pr_fmt
+#undef pr_fmt
+#endif
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/fs.h>
#include <linux/pagemap.h>