Messages in this thread Patch in this message | | | From | Joe Perches <> | Subject | [PATCH 2/5] printk: Convert pr_devel to use eliminated_printk | Date | Sun, 17 Jun 2012 19:25:09 -0700 |
| |
Make sure there are no side effects to pr_devel uses.
Signed-off-by: Joe Perches <joe@perches.com> --- include/linux/printk.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/printk.h b/include/linux/printk.h index 84aa910..628054f 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -207,7 +207,7 @@ extern void dump_stack(void) __cold; printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) #else #define pr_devel(fmt, ...) \ - no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) + eliminated_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) #endif /* If you are writing a driver, please use dev_dbg instead */ -- 1.7.8.111.gad25c.dirty
| |