From patchwork Mon Oct 19 00:09:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 55214 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 37D4E22FFA for ; Mon, 19 Oct 2015 00:10:59 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf38790725lbc.1 for ; Sun, 18 Oct 2015 17:10:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=fZ9Vd3ljnSpx1U8WA6rQr80jXWEIHJyvTZ0tXNveGsI=; b=WerwWpEN9GvvY+zKp0L3wXyUl6xWBOxvkgJOvMFL0PahRHG6yKaXR45CH8rJ8O1+vs PHjoTePs/SOWS/0GeQKxU/rHUq0ahWy2/M4oVJQfhXq3CnIYdST9ZBBAIBGwU9Scis/G AzqEOzmEArVFnSRU4JtiGEXqmqLCxwGxi+I7y9jeGgBwOQZSx5vBFBRq/wRMxCbOft5M w/Erqdtfii34NfATJQ06lNVR5AlDpfuxsm0ncqfCrEexO7+A2ojv+aPKeIEcbCOllj2M t1figgyCv077FYHzXcJprh7lt0YYre4s7LVJatuwcjxNPu4dlbyXbwH2EG2Hjl9c8Q4b cg+g== X-Gm-Message-State: ALoCoQk3+7lI0szcrFdSdmvYpONhpyrEQ0mJaVeaVXi1TiCCoNqgkVlC2o/7TJZlpujbzDiucnlH X-Received: by 10.112.130.41 with SMTP id ob9mr6074195lbb.17.1445213457735; Sun, 18 Oct 2015 17:10:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.143.76 with SMTP id r73ls47984lfd.6.gmail; Sun, 18 Oct 2015 17:10:57 -0700 (PDT) X-Received: by 10.112.157.74 with SMTP id wk10mr9940536lbb.54.1445213457532; Sun, 18 Oct 2015 17:10:57 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id v139si20903414lfd.60.2015.10.18.17.10.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Oct 2015 17:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbbwb3 with SMTP id wb3so68789400lbb.1 for ; Sun, 18 Oct 2015 17:10:57 -0700 (PDT) X-Received: by 10.112.64.72 with SMTP id m8mr12715228lbs.41.1445213457377; Sun, 18 Oct 2015 17:10:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1167005lbq; Sun, 18 Oct 2015 17:10:56 -0700 (PDT) X-Received: by 10.68.68.233 with SMTP id z9mr31137364pbt.132.1445213456188; Sun, 18 Oct 2015 17:10:56 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ip1si48239075pbc.157.2015.10.18.17.10.55; Sun, 18 Oct 2015 17:10:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752387AbbJSAJz (ORCPT + 28 others); Sun, 18 Oct 2015 20:09:55 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:34458 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751680AbbJSAJy (ORCPT ); Sun, 18 Oct 2015 20:09:54 -0400 Received: by lbbwb3 with SMTP id wb3so68781144lbb.1 for ; Sun, 18 Oct 2015 17:09:52 -0700 (PDT) X-Received: by 10.112.162.162 with SMTP id yb2mr13126652lbb.94.1445213392692; Sun, 18 Oct 2015 17:09:52 -0700 (PDT) Received: from localhost.localdomain ([188.123.252.216]) by smtp.gmail.com with ESMTPSA id t188sm4878359lfe.33.2015.10.18.17.09.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Oct 2015 17:09:51 -0700 (PDT) From: Alexey Klimov To: daniel.lezcano@linaro.org, matthias.bgg@gmail.com, linux-kernel@vger.kernel.org Cc: linux-mediatek@lists.infradead.org, yingjoe.chen@mediatek.com, tglx@linutronix.de, klimov.linux@gmail.com, joe@perches.com, Alexey Klimov Subject: [PATCH v2 1/3] clocksource: mtk_timer: add pr_fmt define Date: Mon, 19 Oct 2015 03:09:23 +0300 Message-Id: <1445213365-24530-1-git-send-email-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alexey.klimov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It's a bit unclear what subsystem/driver emits some messages to dmesg in function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Acked-by: Matthias Brugger Signed-off-by: Alexey Klimov --- drivers/clocksource/mtk_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c index 50f0641..ca5ea9e 100644 --- a/drivers/clocksource/mtk_timer.c +++ b/drivers/clocksource/mtk_timer.c @@ -16,6 +16,8 @@ * GNU General Public License for more details. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include