Skip to contentSkip to conversation

ARM: shmobile: Remove unneeded semicolon

PATCH In review Yang Li 2 participants 2 messages Sep 27, 2023

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 ARM: shmobile: Remove unneeded semicolon

./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

---
 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(-)
arch/arm/mach-shmobile/pm-rcar-gen2.c +1 -1
index 3453d5733224..907a4f8c5aed 100644
@@ -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"))
arch/arm/mach-shmobile/smp-r8a7779.c +1 -1
index 2b1b8248450c..474c325323a3 100644
@@ -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);
 
arch/arm/mach-shmobile/smp-sh73a0.c +1 -1
index 3757aed64c42..9196b37ea292 100644
@@ -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);
Signature · 7 lines
2.20.1.7.g153144c


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/1
#1 lore raw

Hi Yang,

Quoted 7 lines · Yang Li

./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

Thanks for your patch!

As the offending commits are not yet upstream, I will fold the fixes into the existing commits.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds