public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] printk: Add eliminated_printk
@ 2012-06-18  2:25 Joe Perches
  2012-06-18  2:25 ` [PATCH 1/5] printk: Add eliminated_printk macro Joe Perches
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Joe Perches @ 2012-06-18  2:25 UTC (permalink / raw)
  To: platform-driver-x86, ibm-acpi-devel, linux-usb
  Cc: Andrew Morton, linux-kernel

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-06-24 14:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18  2:25 [PATCH 0/5] printk: Add eliminated_printk Joe Perches
2012-06-18  2:25 ` [PATCH 1/5] printk: Add eliminated_printk macro Joe Perches
2012-06-18  2:25 ` [PATCH 2/5] printk: Convert pr_devel to use eliminated_printk Joe Perches
2012-06-18  2:25 ` [PATCH 3/5] usb: Convert dbg to pr_eliminated and pr_debug Joe Perches
2012-06-18  6:08   ` Paul Mundt
2012-06-18 15:23   ` Greg Kroah-Hartman
2012-06-18 16:07     ` Joe Perches
2012-06-18 16:14       ` Greg Kroah-Hartman
2012-06-18 16:39         ` Joe Perches
2012-06-18  2:25 ` [PATCH 4/5] fujitsu-laptop: Convert dbg_printk and vdbg_printk to fuj_dbg Joe Perches
2012-06-18  7:08   ` Jonathan Woithe
2012-06-18  2:25 ` [PATCH 5/5] thinkpad_acpi: Convert dbg_printk to tp_dbg and tp_vdbg Joe Perches
2012-06-24  0:40   ` Henrique de Moraes Holschuh
2012-06-24  3:06     ` Joe Perches
2012-06-24 14:42       ` Henrique de Moraes Holschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox