Re: [PATCH] microblaze: drop unneeded semicolon

From: Michal Simek

Date: Mon Aug 31 2026 - 03:43:27 EST




On 8/1/26 21:09, Julia Lawall wrote:
When a function-like macro expands to an expression, that expression
doesn't need a semicolon after it. All uses have been verified to
have their own semicolons.

This was found using the following Coccinelle semantic patch:

@r@
identifier i : script:ocaml() { String.lowercase_ascii i = i };
expression e;
@@

*#define i(...) e;

Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>

---
arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c | 2 +-
arch/microblaze/kernel/cpu/cpuinfo-static.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Applied.
M

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP/Versal ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal/Versal NET SoCs
TF-A maintainer - Xilinx ZynqMP/Versal/Versal NET SoCs