Skip to content

printk: Add eliminated_printk

Joe Perches lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5printk: Add eliminated_printk macroinclude/linux/printk.h+10 -00 replies
2/5printk: Convert pr_devel to use eliminated_printkinclude/linux/printk.h+1 -10 replies
3/5usb: Convert dbg to pr_eliminated and pr_debuginclude/linux/usb.h+5 -75 replies
4/5fujitsu-laptop: Convert dbg_printk and vdbg_printk to fuj_dbgdrivers/platform/x86/fujitsu-laptop.c+47 -561 reply
5/5thinkpad_acpi: Convert dbg_printk to tp_dbg and tp_vdbgdrivers/platform/x86/thinkpad_acpi.c+165 -1933 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchJonathan WoitheHenrique de Moraes Holschuh
1/5
2/5
3/5
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] printk: Add eliminated_printk

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(-)
Signature · 9 lines
1.7.8.111.gad25c.dirty


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/