summaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@suse.cz>2006-08-08 01:37:15 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-08-11 14:06:05 -0700
commit1cc6daf2349ea07830906e05164256ab36d82697 (patch)
tree5385595a7b3cfdd92d70ed3bb3321ff6afdf072e /include/linux/kernel.h
parente9539ee73a9b85bdc6eab9e15dd1ee639a815406 (diff)
downloadkernel-crypto-1cc6daf2349ea07830906e05164256ab36d82697.tar.gz
kernel-crypto-1cc6daf2349ea07830906e05164256ab36d82697.tar.xz
kernel-crypto-1cc6daf2349ea07830906e05164256ab36d82697.zip
pr_debug() should not be used in drivers
pr_debug() should not be used from drivers, add comment saying that. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 181c69cad4e..851aa1bcfc1 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -210,6 +210,7 @@ extern enum system_states {
extern void dump_stack(void);
#ifdef DEBUG
+/* If you are writing a driver, please use dev_dbg instead */
#define pr_debug(fmt,arg...) \
printk(KERN_DEBUG fmt,##arg)
#else