From patchwork Sun Oct 25 23:21:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 7484351 Return-Path: X-Original-To: patchwork-linux-mediatek@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2CC92BEEA4 for ; Sun, 25 Oct 2015 23:22:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 62F8D207CC for ; Sun, 25 Oct 2015 23:22:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 92B86207C8 for ; Sun, 25 Oct 2015 23:22:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZqUcC-00042s-5l; Sun, 25 Oct 2015 23:22:16 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZqUcA-00041k-5Z for linux-mediatek@lists.infradead.org; Sun, 25 Oct 2015 23:22:15 +0000 Received: by wicfx6 with SMTP id fx6so91747015wic.1 for ; Sun, 25 Oct 2015 16:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=rG+rZbCwrhcyi3Eyl4pcZ5gI0e0rfNKtriyKLqja35w=; b=XcG5uodZb9HNLFumm68g4c1Vd1Cr2dUmPX3/h51zNbmmC/QWm4MwUuy8X31b70F13W 6CvXV5UxyIPKd4MjGCfWs+/ZttUKUz5rrXqsWDVssR6IBiWNpEtgbGTaOc+wl0cjbpVj pVhsYnP3ryj09EGFP8IdFyD2EfsxEZ+eVDWTO7HGjR8M0QAkU0wPvsN6Fv/ywIubhqv6 g5HvmJBIEZyThg9awtK3VdX1KvZPdyxtZ02JqLilhGANS8UwfsVEvzX/8ChtC62NHESb zL9PChtEAwA1bUYsEYvsnd+BJanFoO1K+ya7Z/3YGCYxV/jF1MPxED+XqBvPBIvzKnqG Is8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rG+rZbCwrhcyi3Eyl4pcZ5gI0e0rfNKtriyKLqja35w=; b=X/7OxVi2uD/L5zJxub0eCFbe5ejtSk20uRBmBD+lgFkRjvf0QWQ51JSn3qutcnFHfi oLjL4YD4AZJnuw1PF5TPEUMY0bedDxnkmYUvOUG2QlN88cRHWPVU9flWxppILlsfVjNC 1b3KStWvr6PZYqAwM6QF48P6TdMnK3+0u1hdsVA7uhTjWoY1J86Qr1Cz5UM0m0294L7C qVZDN+Kqx4r5ezncOGNmssoFOsomDfOKrBU4n1agPDNerhCyUitsUEAUjVzYAHPYSVmW 2WOSt3/vj2tvFe+YFoxaS7YTjkh0J3TE9JIP70uONT+cVLQqpjUamzSlx5Rhr4YMbKd3 6SOA== X-Gm-Message-State: ALoCoQloSxdRO4F60aITBHj4cPZC68ToFXxGPE6KuYY24LFozaCNP9EXqO9vJf7A5hZ6csN6MD/Y X-Received: by 10.194.58.44 with SMTP id n12mr17241608wjq.118.1445815312365; Sun, 25 Oct 2015 16:21:52 -0700 (PDT) Received: from mtux.lan (host-2-101-188-230.as13285.net. [2.101.188.230]) by smtp.gmail.com with ESMTPSA id jj8sm11712633wid.2.2015.10.25.16.21.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Oct 2015 16:21:51 -0700 (PDT) From: Alexey Klimov To: daniel.lezcano@linaro.org, matthias.bgg@gmail.com, linux-kernel@vger.kernel.org, joe@perches.com Subject: [PATCH v3 1/3] clocksource: mtk_timer: add pr_fmt define Date: Sun, 25 Oct 2015 23:21:22 +0000 Message-Id: <1445815284-10425-1-git-send-email-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151025_162214_374103_89977875 X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yingjoe.chen@mediatek.com, tglx@linutronix.de, Alexey Klimov , linux-mediatek@lists.infradead.org, klimov.linux@gmail.com MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- Changes in v3: -- none Changes in v2: -- added acked-by from Matthias 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