Thread (2 messages) flat view 2 messages, 2 authors, 6d ago

Re: [PATCH] fbdev: au1100fb: drop unneeded semicolon

From: Helge Deller <deller@gmx.de>
Date: 2026-08-01 20:35:00
Also in: dri-devel, kernel-janitors, lkml

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@inria.fr>

---
  drivers/video/fbdev/au1100fb.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
applied.

Thanks!
Helge
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help