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()); -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |