public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yang Li <yang.lee@linux.alibaba.com>
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 <yang.lee@linux.alibaba.com>,
	Abaci Robot <abaci@linux.alibaba.com>
Subject: [PATCH -next] ARM: shmobile: Remove unneeded semicolon
Date: Wed, 27 Sep 2023 09:02:07 +0800	[thread overview]
Message-ID: <20230927010207.78326-1-yang.lee@linux.alibaba.com> (raw)

./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 <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6704
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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);
-- 
2.20.1.7.g153144c


             reply	other threads:[~2023-09-27  3:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27  1:02 Yang Li [this message]
2023-09-27  9:14 ` [PATCH -next] ARM: shmobile: Remove unneeded semicolon Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230927010207.78326-1-yang.lee@linux.alibaba.com \
    --to=yang.lee@linux.alibaba.com \
    --cc=abaci@linux.alibaba.com \
    --cc=geert+renesas@glider.be \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox