summaryrefslogtreecommitdiffstats
path: root/fs/qnx6/Makefile
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 23:23:07 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:26 +0200
commitfa5a7a41a601d952e53bfcfa6d50ca22b956ee3a (patch)
treed3ec881ee67e05a477fe3262b8a72dd0b20b6356 /fs/qnx6/Makefile
parentfs/qnx6: use pr_fmt and __func__ in logging (diff)
downloadlinux-fa5a7a41a601d952e53bfcfa6d50ca22b956ee3a.tar.xz
linux-fa5a7a41a601d952e53bfcfa6d50ca22b956ee3a.zip
fs/qnx6: update debugging to current functions
Add DDEBUG in Makefile when CONFIG_QNX6FS_DEBUG is set. All QNX6DEBUG messages are replaced by pr_debug which means debugging will be emitted in debug level only and no more in error and info levels. debug uses now pr_fmt and __func__ QNX6DEBUG definition has been removed. 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/Makefile')
-rw-r--r--fs/qnx6/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/qnx6/Makefile b/fs/qnx6/Makefile
index 9dd06199afc9..5e6bae6fae50 100644
--- a/fs/qnx6/Makefile
+++ b/fs/qnx6/Makefile
@@ -5,3 +5,4 @@
obj-$(CONFIG_QNX6FS_FS) += qnx6.o
qnx6-objs := inode.o dir.o namei.o super_mmi.o
+ccflags-$(CONFIG_QNX6FS_DEBUG) += -DDEBUG