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: 10031763 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 24B5A602D6 for ; Sun, 29 Oct 2017 21:26:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16876286F1 for ; Sun, 29 Oct 2017 21:26:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B6AD28714; Sun, 29 Oct 2017 21:26:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8E630286F1 for ; Sun, 29 Oct 2017 21:26:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=nBOHidS/1KSSgtP7V3WcSzlxYg7Gd9cKi+bIFXIRuOE=; b=SrkcJJg15JDB5or2VlacXzbv4b P99PJIvt6XGg5YRJYms4g8e1gi+L298o/vq8by9+8D/1b5DjzEbhGykQrKAWWb2Vu40rgTgyyz84T +kHLLKIc35HDJAVXg65a5pL0g3n588OpPz3zeXqYPCA5IDQUK20zoPufSXgGcQtfzYjFH+BoetKAE FIx2QfjL1tLWM8LQH8r/y+VNtXa9XvgKa80ts7JfAzxxOKXRKGwyI4OpDR8qTOa+aUTFKWZGDvC5f kxK58XcdOIZha8Zb9j5GUyGvVawfOMe3oxdjUTY8X8cr/YuJaer871odr5rV5wri5xbAgHEzx1FeI 5/C1FdKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e8v6M-0002AV-Kl; Sun, 29 Oct 2017 21:26:38 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e8v54-0008Da-I7 for linux-arm-kernel@lists.infradead.org; Sun, 29 Oct 2017 21:25:26 +0000 Received: by mail-wr0-x242.google.com with SMTP id p96so10680507wrb.7 for ; Sun, 29 Oct 2017 14:24:57 -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=r4vZgWBq7R6G0XYrKhLZk4pFqV3SjgZsk4iJRVjlUCD0P+tRNLRDNA+Z/L6e7uL71j 2gpn8rWxHrpZq64rMzsPta4PHo/UHzipVf7m80FsnWoA3+CVRdnNo8BgKwQXE+qeXhiG jCTAph044nydBv7mLHv+4N+lBrwJ2itEEVW0ge1Opjhtb4KdU8QY9qTsMycdGkxYx3PW ORNDiaSznJjpLveZwhCiNdD/DuKlWspxoL/GA5dSA//ztuK/acvJMcVXjji5mqp3BGuC l3FZ94c2zOgjCdfKXIBRblrC8W+Xpmiz35qO+v2cBoSARHNVpriCu8OJ+uS+cRIpUASZ UTvQ== X-Gm-Message-State: AMCzsaVB7ghTlmDLwih1d7xrzGWDdxtoPtbOQV+MS2IBqRsAIN7z6qDm ZDWw8X0PJ4d/1ZnZ5TIlgEjZgFMQyUs= X-Google-Smtp-Source: ABhQp+QD4oNFfiscjdfmhD6vQdSpbZZ+3ofX26bOp9n2P16vaZwfsdWNAcGLRBDBSd44p4y81tvw6w== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171029_142519_125274_1033886F X-CRM114-Status: GOOD ( 11.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Marc Zyngier , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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);