Re: [PATCH] MIPS: BCM47XX: drop unneeded semicolon

From: Philippe Mathieu-Daudé

Date: Sun Aug 02 2026 - 11:25:09 EST


On 1/8/26 21:10, 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/mips/bcm47xx/buttons.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxxxxxxxx>