Skip to content

replacing/fixing printk with pr_debug/pr_info in arch/i386 - intro

Daniele Pizzoni kernel-janitors lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8replacing/fixing printk with pr_debug/pr_info in arch/i386 - boot.carch/i386/kernel/acpi/boot.c+6 -60 replies
2/8replacing/fixing printk with pr_debug/pr_info in arch/i386 - io_apic.carch/i386/kernel/io_apic.c+16 -170 replies
3/8replacing/fixing printk with pr_debug/pr_info in arch/i386 - microcode.carch/i386/kernel/microcode.c+12 -170 replies
4/8replacing/fixing printk with pr_debug/pr_info in arch/i386 - mpparse.carch/i386/kernel/mpparse.c+54 -541 reply
5/8replacing/fixing printk with pr_debug/pr_info in arch/i386 - nmi.carch/i386/kernel/nmi.c+7 -60 replies
6/8replacing/fixing printk with pr_debug/pr_info in arch/i386 - smpboot.carch/i386/kernel/smpboot.c+42 -430 replies
7/8replacing/fixing printk with pr_debug/pr_info in include/asm-i386 - apic.hinclude/asm-i386/apic.h+0 -10 replies
8/8replacing/fixing printk with pr_debug/pr_info in include/asm-i386 - smpboot_hooks.hinclude/asm-i386/mach-default/smpboot_hooks.h+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] replacing/fixing printk with pr_debug/pr_info in arch/i386 - intro

Hello, I'm going to post a series of small janitorial patches focused on
1) replacing DPRINTK-style macros with pr_debug from kernel.h
2) replacing printk(KERN_INFO ...) with pr_info(...)
3) fixing _obvious_ inconsistencies of printk levels as:

printk(KERN_INFO "Start... ");
...
printk("Ok!\n");

The patches fix only obvious inconsistencies: seems that there has been no policy about how a subsystem should print boot/log messages (subsistem prefix, etc.) nor about the difference between printk(...) and printk(KERN_WARNING ...), etc. So I did not touch those issues.

The patches regard (mainly) files in arch/i386/kernel. The patches are based upon 2.6.9-rc4.
The patches have been compile and boot tested. One file one patch.

Any comment is very welcome.

CC'ed to Ingo Molnar, hoping that's appropriate.

Bye
Daniele Pizzoni <[email protected]>