From patchwork Sun Oct 29 21:20:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 117428 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1854400qgn; Sun, 29 Oct 2017 14:25:53 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RwSBpnos6kNF07VYZj44WlI9zMjCCQdxUeWfG0/Vvsj0InUOzRrOl/pL6OxU8RJA1MSf+D X-Received: by 10.99.96.208 with SMTP id u199mr6036796pgb.323.1509312353511; Sun, 29 Oct 2017 14:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509312353; cv=none; d=google.com; s=arc-20160816; b=gOev/Gv/4wnA45NrJCWkTTWQTD9rvRDW5jQ7ENhntdwpEDiCJDHw3ekH973/8jnkG8 vt6dz++3bRVirQX9xw+vl+tIAHDk4sdCxzeS9tIak/PXOqJdpMPWayW5ToDTXU4C+qpP KR6ADd2fB2K0tR/O7ffKBuK7vy/MK3E9llUsdBJQAzaxBcvcPsf6g5aJRustDRuxn/R3 gcL8J8ZmHxYzApVW1tK1KNS4NINLmVT8B1mrzsiwrScfx2bJdK7p3oZ9zq4dcosYmTZl Efg8qnVjcRHhLQVj8o050hxhEHCQOVfuHsEq5r0TwSkmHaIyeZRMrQzdeI/7upQxQkAC zPkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=mXHU6QdygEC6rPDGVoJR8Ci8ANhm/572gpi2eliipsM=; b=MGSvG06H5Qr4gMDoC+Xmwl3mGb4g0eB0GqnS8+2iaOVN2RyNGiYM0bzcJsQ6Vsu29b umn/SXixq/Ewb4DrOuIebNmJS/6kNvApccdP8zCOyyB++EX2SiSZbYOEAoyXHzIe3f2a 51FUafT1qszKqhdfSv1ZOlL6pkHyuiG91XmEpbujokSFcaR3mA1CCEl0HtZboeIcHE0K lnu7RXOY6eLRGKYoombsMzrd2zLXHan7w5SkdpVCYFIglYlxkB0eWq+kOwEBapNFTWOa 2iL2EuLe3g0pLU2/IxFRQnVt0x4oT9QzC7UDQU/wh+R3yHGlS1i1AiiH7Htt7lqSJOkD yVZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L6vG4diK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v126si8527394pgb.554.2017.10.29.14.25.53; Sun, 29 Oct 2017 14:25:53 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L6vG4diK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932447AbdJ2VZv (ORCPT + 27 others); Sun, 29 Oct 2017 17:25:51 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:54611 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932293AbdJ2VY5 (ORCPT ); Sun, 29 Oct 2017 17:24:57 -0400 Received: by mail-wr0-f193.google.com with SMTP id o44so10683085wrf.11 for ; Sun, 29 Oct 2017 14:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mXHU6QdygEC6rPDGVoJR8Ci8ANhm/572gpi2eliipsM=; b=L6vG4diKZNFx7+NWhSKlkL/jNwfAAvjaQXiDfGIAJt+wY3syuqVd9TypKKRcIjDHNX T013LDXCKsMdFMay+RYkPfWyb4l0mooExuE6Imm9EXWcmnJGAb5WMJVRkV8YI11tVVn0 Iko31m8UV+M7+jnDBt4cMsk292x0tAyspkPlo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mXHU6QdygEC6rPDGVoJR8Ci8ANhm/572gpi2eliipsM=; b=XWjmTgVBhQbsHRIvYXZShghdqUULMqecigQtn6uM9Ylagb1GHJWss3mEGokwGDZdlU OU9F18pcCA2EjhqBknyTTjozUcQZqwpLt5/KzG7x5lWIj4yfNtutIix6qLqsApAQ2hfV pLYQ3PwmoeYu4twy3Zwroj2E5VOPU92E3g2O+vIGmhEpWGgy9R1j7h7m4VoIPOW8pe6i V7XzlSgXCl41xDvHIeBP4QuTSCBDH7AGdpX43gpCZj7S/orRqpG1kbtD6SCPjV9Xi4OG zvwg2f/+9BvWcryEZrIzayJcX74vCISpVj9f/MaFE2ofrva1WgeFu547Ca/VvvDwO9b2 xwTQ== X-Gm-Message-State: AMCzsaV7vXD/liw/e95n3/u/Bn+lVN6GT95Xc2PySPWSB+MdVgZxUiaN xBTIAMDsjuW95JUlM6jB7rNo+w== X-Received: by 10.223.176.82 with SMTP id g18mr5484621wra.234.1509312296175; Sun, 29 Oct 2017 14:24:56 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:2c92:b7e6:9f71:ab86]) by smtp.gmail.com with ESMTPSA id z20sm10067264wrz.62.2017.10.29.14.24.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Oct 2017 14:24:55 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, daniel.lezcano@linaro.org Cc: linux-kernel@vger.kernel.org, Mark Rutland , linux-arm-kernel@lists.infradead.org, Marc Zyngier Subject: [PATCH 14/17] clocksource/drivers/arm_arch_timer: Fix DEFINE_PER_CPU expansion Date: Sun, 29 Oct 2017 22:20:31 +0100 Message-Id: <1509312035-17368-14-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509312035-17368-1-git-send-email-daniel.lezcano@linaro.org> References: <1509312035-17368-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Rutland Our ctags mangling script can't handle newlines inside of a DEFINE_PER_CPU(), leading to an annoying message whenever tags are built: ctags: Warning: drivers/clocksource/arm_arch_timer.c:302: null expansion of name pattern "\1" This was dealt with elsewhere in commit: 25528213fe9f75f4 ("tags: Fix DEFINE_PER_CPU expansions") ... by ensuring each DEFINE_PER_CPU() was contained on a single line, even where this would violate the usual code style (checkpatch warnings and all). Let's do the same for the arch timer driver, and get rid of the distraction. Signed-off-by: Mark Rutland Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Daniel Lezcano --- drivers/clocksource/arm_arch_timer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 14e2419..0ecf5be 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -299,8 +299,7 @@ static u64 notrace arm64_858921_read_cntvct_el0(void) #endif #ifdef CONFIG_ARM_ARCH_TIMER_OOL_WORKAROUND -DEFINE_PER_CPU(const struct arch_timer_erratum_workaround *, - timer_unstable_counter_workaround); +DEFINE_PER_CPU(const struct arch_timer_erratum_workaround *, timer_unstable_counter_workaround); EXPORT_SYMBOL_GPL(timer_unstable_counter_workaround); DEFINE_STATIC_KEY_FALSE(arch_timer_read_ool_enabled);