From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753480AbcLIIZU (ORCPT ); Fri, 9 Dec 2016 03:25:20 -0500 Received: from mail-io0-f177.google.com ([209.85.223.177]:33641 "EHLO mail-io0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752977AbcLIIYz (ORCPT ); Fri, 9 Dec 2016 03:24:55 -0500 MIME-Version: 1.0 In-Reply-To: <1481231430.5946.34.camel@perches.com> References: <20161208173319.6618-1-fu.wei@linaro.org> <20161208173319.6618-4-fu.wei@linaro.org> <1481231430.5946.34.camel@perches.com> From: Fu Wei Date: Fri, 9 Dec 2016 16:24:54 +0800 Message-ID: Subject: Re: [PATCH v18 03/15] clocksource/drivers/arm_arch_timer: Improve printk relevant code To: Joe Perches Cc: "Rafael J. Wysocki" , Len Brown , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , Hanjun Guo , linux-arm-kernel@lists.infradead.org, Linaro ACPI Mailman List , Linux Kernel Mailing List , ACPI Devel Maling List , rruigrok@codeaurora.org, "Abdulhamid, Harb" , Christopher Covington , Timur Tabi , G Gregory , Al Stone , Jon Masters , Wei Huang , Arnd Bergmann , Catalin Marinas , Will Deacon , Suravee Suthikulpanit , Leo Duran , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, Tomasz Nowicki , Christoffer Dall , Julien Grall Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joe, On 9 December 2016 at 05:10, Joe Perches wrote: > On Fri, 2016-12-09 at 01:33 +0800, fu.wei@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", yes, you are right , will fix it. :-) Thanks -- Best regards, Fu Wei Software Engineer Red Hat