diff options
author | Pavel Machek <pavel@suse.cz> | 2006-08-08 01:37:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-11 14:06:05 -0700 |
commit | 1cc6daf2349ea07830906e05164256ab36d82697 (patch) | |
tree | 5385595a7b3cfdd92d70ed3bb3321ff6afdf072e /include | |
parent | e9539ee73a9b85bdc6eab9e15dd1ee639a815406 (diff) | |
download | linux-1cc6daf2349ea07830906e05164256ab36d82697.tar.bz2 |
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')
-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 |