Messages in this thread | | | From | Joe Perches <> | Subject | [PATCH 0/5] printk: Add eliminated_printk | Date | Sun, 17 Jun 2012 19:25:07 -0700 |
| |
no_printk keeps side-effects. eliminated_printk removes all side effects yet still keeps gcc format and argument verificatino. By definition, pr_devel should have no side-effects if not enabled. Convert pr_devel from no_printk to eliminated_printk.
Joe Perches (5): printk: Add eliminated_printk macro printk: Convert pr_devel to use eliminated_printk usb: Convert dbg to pr_eliminated and pr_debug fujitsu-laptop: Convert dbg_printk and vdbg_printk to fuj_dbg thinkpad_acpi: Convert dbg_printk to tp_dbg and tp_vdbg
drivers/platform/x86/fujitsu-laptop.c | 103 +++++----- drivers/platform/x86/thinkpad_acpi.c | 358 +++++++++++++++------------------ include/linux/printk.h | 12 +- include/linux/usb.h | 12 +- 4 files changed, 228 insertions(+), 257 deletions(-)
-- 1.7.8.111.gad25c.dirty
| |