From mboxrd@z Thu Jan 1 00:00:00 1970 From: joe@perches.com (Joe Perches) Date: Thu, 08 Dec 2016 13:10:30 -0800 Subject: [PATCH v18 03/15] clocksource/drivers/arm_arch_timer: Improve printk relevant code In-Reply-To: <20161208173319.6618-4-fu.wei@linaro.org> References: <20161208173319.6618-1-fu.wei@linaro.org> <20161208173319.6618-4-fu.wei@linaro.org> Message-ID: <1481231430.5946.34.camel@perches.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 2016-12-09 at 01:33 +0800, fu.wei at linaro.org wrote: > From: Fu Wei > > This patch defines pr_fmt(fmt) for all pr_* functions, > then the pr_* doesn't need to add "arch_timer:" everytime. trivia: > diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c [] > @@ -966,7 +967,7 @@ static int __init arch_timer_mem_init(struct device_node *np) > > ret = -EINVAL; > if (!irq) { > - pr_err("arch_timer: Frame missing %s irq", > + pr_err("Frame missing %s irq", > arch_timer_mem_use_virtual ? "virt" : "phys"); > goto out; > } Missing terminating newline pr_err("Frame missing %s irq\n",