diff options
author | Pavel Machek <pavel@suse.cz> | 2006-08-08 03:37:15 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-12 01:06:05 +0400 |
commit | 1cc6daf2349ea07830906e05164256ab36d82697 (patch) | |
tree | 5385595a7b3cfdd92d70ed3bb3321ff6afdf072e | |
parent | e9539ee73a9b85bdc6eab9e15dd1ee639a815406 (diff) | |
download | linux-1cc6daf2349ea07830906e05164256ab36d82697.tar.xz |
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>
-rw-r--r-- | include/linux/kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 181c69cad4e3..851aa1bcfc1a 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 |