summaryrefslogtreecommitdiffstats
path: root/drivers/misc/Makefile
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-12-15 03:00:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-15 17:53:25 +0100
commit00b55864bb37200d7f05143c44f5e2edfc8c4578 (patch)
treee744e54d7422559c3504724dfc85d678bc2996cf /drivers/misc/Makefile
parentWARN_ONCE(): use bool for boolean flag (diff)
downloadlinux-00b55864bb37200d7f05143c44f5e2edfc8c4578.tar.xz
linux-00b55864bb37200d7f05143c44f5e2edfc8c4578.zip
dynamic_debug.h/kernel.h: Remove KBUILD_MODNAME from dynamic_pr_debug
If CONFIG_DYNAMIC_DEBUG is enabled and a source file has: #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> dynamic_debug.h will duplicate KBUILD_MODNAME in the output string. Remove the use of KBUILD_MODNAME from the output format string generated by dynamic_debug.h If CONFIG_DYNAMIC_DEBUG is not enabled, no compile-time check is done to printk/dev_printk arguments. Add it. Signed-off-by: Joe Perches <joe@perches.com> Cc: Jason Baron <jbaron@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/Makefile')
0 files changed, 0 insertions, 0 deletions