From patchwork Fri Sep 4 03:21:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 53063 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 6F89322E3F for ; Fri, 4 Sep 2015 03:22:03 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf2574773lbc.1 for ; Thu, 03 Sep 2015 20:22:02 -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=Kl1x6JUF58I+rh05oBQy0+pBXcoTyD0zqoLEZSGvRo4=; b=JsFwuB670L1t3atpr/rIztpKKDs/8qdAP5dqir1G3BP56d8kdCCdC31/QSnpxvMx8s QQjsu0SlSbXXnP8swn7AzqGM4cvYiVUdh/wddqkDNJQp59onn/cwfg4DR0Jfe89FkwfY jr77GJ2yL8kAn65zKi/7BSY8KtNAp9IjOz7UDqSzkLN4NZ/iWq2mOSIm7dvCirsYxm5b Kg0cS93yHa+gUD+xVcJ7yDq7YnIVIElE08vVUEeD2pVPib3KDk4jN9qCHPOrBcpvmrXv dTuNjM/85gIXCpOQ949lJa/cqV8KIpOL0ztG8FiASi4gPJkTcT7wsR+OItnVkEGdfEnH xo1Q== X-Gm-Message-State: ALoCoQnonu4qVhMF348AtpYknm/tLV/lZns5044IXOJYPQ021qA18tMnzKFDHNhLXp47U1ekDCaq X-Received: by 10.112.17.106 with SMTP id n10mr354471lbd.18.1441336922193; Thu, 03 Sep 2015 20:22:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.1 with SMTP id g1ls273944lag.46.gmail; Thu, 03 Sep 2015 20:22:01 -0700 (PDT) X-Received: by 10.152.237.34 with SMTP id uz2mr1302416lac.84.1441336921911; Thu, 03 Sep 2015 20:22:01 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id lu3si952727lac.24.2015.09.03.20.22.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2015 20:22:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagj9 with SMTP id j9so5250925lag.2 for ; Thu, 03 Sep 2015 20:22:01 -0700 (PDT) X-Received: by 10.112.63.138 with SMTP id g10mr1330542lbs.106.1441336921781; Thu, 03 Sep 2015 20:22:01 -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.164.42 with SMTP id yn10csp1660529lbb; Thu, 3 Sep 2015 20:22:00 -0700 (PDT) X-Received: by 10.69.12.162 with SMTP id er2mr3253862pbd.24.1441336920683; Thu, 03 Sep 2015 20:22:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id th6si1761248pab.50.2015.09.03.20.21.59; Thu, 03 Sep 2015 20:22:00 -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 S1756638AbbIDDV6 (ORCPT + 28 others); Thu, 3 Sep 2015 23:21:58 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:33733 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756461AbbIDDV4 (ORCPT ); Thu, 3 Sep 2015 23:21:56 -0400 Received: by lbcjc2 with SMTP id jc2so4328596lbc.0 for ; Thu, 03 Sep 2015 20:21:55 -0700 (PDT) X-Received: by 10.152.5.2 with SMTP id o2mr1261984lao.105.1441336915217; Thu, 03 Sep 2015 20:21:55 -0700 (PDT) Received: from localhost.localdomain ([46.39.50.164]) by smtp.gmail.com with ESMTPSA id t2sm216126lag.36.2015.09.03.20.21.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Sep 2015 20:21:54 -0700 (PDT) From: Alexey Klimov To: daniel.lezcano@linaro.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com Cc: yingjoe.chen@mediatek.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, klimov.linux@gmail.com, Alexey Klimov Subject: [RFC PATCH 1/3] clocksource: mtk_timer: add pr_fmt define Date: Fri, 4 Sep 2015 06:21:38 +0300 Message-Id: <1441336900-15095-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.215.49 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 uncler what subsystem/driver emits some messages to dmesg in function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Signed-off-by: Alexey Klimov Acked-by: Matthias Brugger --- 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