* [PATCH] remove pr_fmt() from dynamic_dev_dbg() printk
@ 2009-04-08 16:12 Jason Baron
0 siblings, 0 replies; only message in thread
From: Jason Baron @ 2009-04-08 16:12 UTC (permalink / raw)
To: greg; +Cc: linux-kernel, gnb
hi,
When pr_fmt() was added to the pr_debug() code, we added it not only to the
dynamic_pr_debug() function, but also to the dynamic_dev_dbg() funciton.
However, dev_dbg() doesn't make use of pr_fmt(), so neither should
dynamic_dev_dbg().
thanks,
-Jason
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
dynamic_debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
index baabf33..a0d9422 100644
--- a/include/linux/dynamic_debug.h
+++ b/include/linux/dynamic_debug.h
@@ -70,7 +70,7 @@ extern int ddebug_remove_module(char *mod_name);
DEBUG_HASH2, __LINE__, _DPRINTK_FLAGS_DEFAULT }; \
if (__dynamic_dbg_enabled(descriptor)) \
dev_printk(KERN_DEBUG, dev, \
- KBUILD_MODNAME ": " pr_fmt(fmt),\
+ KBUILD_MODNAME ": " fmt, \
##__VA_ARGS__); \
} while (0)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-08 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08 16:12 [PATCH] remove pr_fmt() from dynamic_dev_dbg() printk Jason Baron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox