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

Philippe Mathieu-Daudé <[email protected]> Sun, 2 Aug 2026 17:17:19 +0200
Newsgroups gmane.linux.ports.mips,gmane.linux.kernel.janitors,gmane.linux.kernel
Message-ID <[email protected]>
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 <[email protected]>
> 
> ---
>   arch/mips/bcm47xx/buttons.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>