From patchwork Wed Sep 27 01:02:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 13399791 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AC3F5E7F14B for ; Wed, 27 Sep 2023 01:02:46 +0000 (UTC) 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=USjOX20spIQlJsRraXPuJ4tIvZUEIR4nYK6ZAldeGoc=; b=fB9pHITgA8QGsW OgHmMRS45NaE/aJ8jC9gKciQPSb8vVUBwC9XiuN0vCNkfGCT0srwG9kcEJlZ0PQDSMDThwTtdb+Q1 HE3iCVpRyrd4wrGiHuAurVkA0LscUhcTjNY6j1lo947/dic7XZ3uV1tGEB1MV5+MQZZutZeK3TrvL Ggr0AU29NmaHByFFoaydjMlwdFM0bb1TZyq2hrXFj1W2oc2+BIQHppEEQsRRZgt4zLmbYHL1rpc7t Za4OqUilav3JdDUUA5++1Y5V2Z/H/JOx1l0VHUAPKyVq63XxWk+W3pJndqz0Xz87Y4f9rfIXRXmSB 9eiF22ZJfnY4c6lBDuqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlIwX-00HHJo-1C; Wed, 27 Sep 2023 01:02:21 +0000 Received: from out30-118.freemail.mail.aliyun.com ([115.124.30.118]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlIwT-00HHJ1-2K for linux-arm-kernel@lists.infradead.org; Wed, 27 Sep 2023 01:02:19 +0000 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0Vsy7KZH_1695776528; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vsy7KZH_1695776528) by smtp.aliyun-inc.com; Wed, 27 Sep 2023 09:02:09 +0800 From: Yang Li To: geert+renesas@glider.be, magnus.damm@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] ARM: shmobile: Remove unneeded semicolon Date: Wed, 27 Sep 2023 09:02:07 +0800 Message-Id: <20230927010207.78326-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230926_180217_942865_58F8F6C7 X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. 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 ./arch/arm/mach-shmobile/smp-sh73a0.c:52:2-3: Unneeded semicolon ./arch/arm/mach-shmobile/smp-r8a7779.c:46:2-3: Unneeded semicolon ./arch/arm/mach-shmobile/pm-rcar-gen2.c:58:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6704 Signed-off-by: Yang Li Reviewed-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/pm-rcar-gen2.c | 2 +- arch/arm/mach-shmobile/smp-r8a7779.c | 2 +- arch/arm/mach-shmobile/smp-sh73a0.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-shmobile/pm-rcar-gen2.c b/arch/arm/mach-shmobile/pm-rcar-gen2.c index 3453d5733224..907a4f8c5aed 100644 --- a/arch/arm/mach-shmobile/pm-rcar-gen2.c +++ b/arch/arm/mach-shmobile/pm-rcar-gen2.c @@ -55,7 +55,7 @@ void __init rcar_gen2_pm_init(void) if (!request_mem_region(0, SZ_256K, "Boot Area")) { pr_err("Failed to request boot area\n"); return; - }; + } for_each_of_cpu_node(np) { if (of_device_is_compatible(np, "arm,cortex-a15")) diff --git a/arch/arm/mach-shmobile/smp-r8a7779.c b/arch/arm/mach-shmobile/smp-r8a7779.c index 2b1b8248450c..474c325323a3 100644 --- a/arch/arm/mach-shmobile/smp-r8a7779.c +++ b/arch/arm/mach-shmobile/smp-r8a7779.c @@ -43,7 +43,7 @@ static void __init r8a7779_smp_prepare_cpus(unsigned int max_cpus) if (!request_mem_region(0, SZ_4K, "Boot Area")) { pr_err("Failed to request boot area\n"); return; - }; + } base = ioremap(HPBREG_BASE, 0x1000); diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c index 3757aed64c42..9196b37ea292 100644 --- a/arch/arm/mach-shmobile/smp-sh73a0.c +++ b/arch/arm/mach-shmobile/smp-sh73a0.c @@ -49,7 +49,7 @@ static void __init sh73a0_smp_prepare_cpus(unsigned int max_cpus) if (!request_mem_region(0, SZ_4K, "Boot Area")) { pr_err("Failed to request boot area\n"); return; - }; + } /* Map the reset vector (in headsmp.S) */ ap = ioremap(AP_BASE, PAGE_SIZE);