From patchwork Wed Nov 3 16:48:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 12601213 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65850C433F5 for ; Wed, 3 Nov 2021 16:49:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 310FD61101 for ; Wed, 3 Nov 2021 16:49:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 310FD61101 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=e2vHolnZb7xtim8+NtuhIE7A2E7CvBqmAaSkKWPpt0w=; b=2boDL7mY5Upqxi 6wTK8Aq3urWrDRX0Bdfj/Av6a84JZpE8omFALeTfHqaBmfk/tZQemS8vUaVH7d52g1a3Xb4lgxYWY gUYpDlEHSU7UbJdplVQXdo5v4xMYEu8j+tw7u7hXqnZObdSwLW8v5qVsJ8nqaZ3Vy42MD/jVpMygT ZtfkD38ptGEA0fqWGmQOUj8n+caxwblLC7jhXnBOr/yhryvpt6j5/kX987CDU7JlyIZ7oVtOKbJEc J9wTuG3RAcTEdLrJ3wurJtKDqAf9fYu7Ifkn7Ps6YSteM/L3H37wBrlJ8T6ES9E0qTBtfnzoIjfJX UxnROqhtkBW3eKmKLb1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1miJQr-005pLd-Kf; Wed, 03 Nov 2021 16:48:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miJQn-005pKT-GK for linux-arm-kernel@lists.infradead.org; Wed, 03 Nov 2021 16:48:10 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1AAB361101; Wed, 3 Nov 2021 16:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635958089; bh=Onh+9SDppBgVYBNjrWSKWxstYzfa9gsZw6qD9P8yiyA=; h=From:To:Cc:Subject:Date:From; b=Dr/lRAdpAqeebbrq5bNWIFBiZENgFGkju/vgBWonUZGUYZsrFkcEXSQho0S4XkvM9 UB5JpAioQRK5jupTyzKiXT0oBOc7q1qB12Z/9lJ2qiyKH/UImCe1UD4Tv+/M4m0Ldm L4rUOFwWMqYhdtLrM1V3uEj6ftaKLsVhg1ArGcyNiHuXsN+CvR5o4rAzvTHKoT7cvo cXVX31OXJahT8G9aMmCMOSmhIvbmzsXz/FS/IJO9mIJ5hdcDOkWYlnnDigW2Sql/75 YWgMUouamzvVjS+v4KPn9SVcrDDvlPVNy9KdumXFENfGn5Y3ZlTvP/aoSGCxSV7Cr5 82FM29cupwR0w== From: Will Deacon To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Krzysztof Kozlowski , Daniel Lezcano Subject: [PATCH] clocksource/drivers/exynos_mct: Fix silly typo resulting in checkpatch warning Date: Wed, 3 Nov 2021 16:48:04 +0000 Message-Id: <20211103164804.30182-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211103_094809_584926_0FE74427 X-CRM114-Status: GOOD ( 12.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit ae460fd9164b ("clocksource/drivers/exynos_mct: Prioritise Arm arch timer on arm64") changed the rating of the MCT clockevents device to be lower than the Arm architected timer and, in the process, replaced a semicolon with a comma thanks to a silly copy-paste error. Put the semicolon back so that the code looks more idiomatic and resolve the SUSPECT_COMMA_SEMICOLON warning from checkpatch at the same time. Cc: Krzysztof Kozlowski Cc: Daniel Lezcano Signed-off-by: Will Deacon Reviewed-by: Krzysztof Kozlowski --- Although this doesn't have a functional impact and I'd normally not pay too much attention to checkpatch warnings, the code is pretty weird as-is and I didn't intend for that comma to be there! drivers/clocksource/exynos_mct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 5e3e96d3d1b9..77ebe960c8c7 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -467,7 +467,7 @@ static int exynos4_mct_starting_cpu(unsigned int cpu) evt->tick_resume = set_state_shutdown; evt->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERCPU; - evt->rating = MCT_CLKEVENTS_RATING, + evt->rating = MCT_CLKEVENTS_RATING; exynos4_mct_write(TICK_BASE_CNT, mevt->base + MCT_L_TCNTB_OFFSET);