[PATCH 0/5] printk: Add eliminated_printk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux