[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1415206078.6634.9.camel@perches.com>
Date: Wed, 05 Nov 2014 08:47:58 -0800
From: Joe Perches <joe@...ches.com>
To: tglx@...utronix.de, benh@...nel.crashing.org,
jiang.liu@...ux.intel.com, linux-kernel@...r.kernel.org,
mingo@...nel.org, bp@...en8.de, rdunlap@...radead.org,
konrad.wilk@...cle.com, hpa@...or.com, tony.luck@...el.com,
yinghai@...nel.org, bhelgaas@...gle.com, joro@...tes.org,
gregkh@...uxfoundation.org, rjw@...ysocki.net
Cc: linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/apic] x86, irq: Replace printk(KERN_LVL) with pr_lvl()
utilities
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists