Messages in this thread | | | Subject | Re: [tip:x86/apic] x86, irq: Replace printk(KERN_LVL) with pr_lvl() utilities | From | Joe Perches <> | Date | Wed, 05 Nov 2014 08:47:58 -0800 |
| |
On Wed, 2014-11-05 at 08:37 -0800, tip-bot for Jiang Liu wrote: > x86, irq: Replace printk(KERN_LVL) with pr_lvl() utilities > > Replace printk(KENR_LVL) with pr_lvl() to keep checkpatch script silent.
This is actually a small behavioral change.
pr_debug is not quite the same as printk(KERN_DEBUG pr_debug is not performed unless dynamic_debug is enabled or a #define DEBUG is set.
> diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c [] > @@ -504,28 +504,27 @@ static void __init print_local_APIC(void *dummy) > unsigned int i, v, ver, maxlvt; > u64 icr; > > - printk(KERN_DEBUG "printing local APIC contents on CPU#%d/%d:\n", > - smp_processor_id(), hard_smp_processor_id()); > + pr_debug("printing local APIC contents on CPU#%d/%d:\n", > + smp_processor_id(), hard_smp_processor_id());
| |