Re: [PATCH] fbdev: au1100fb: drop unneeded semicolon
Helge Deller <[email protected]> Sat, 1 Aug 2026 22:34:53 +0200
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.janitors,gmane.comp.video.dri.devel |
|---|---|
| Message-ID | <[email protected]> |
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.
>=20
> This was found using the following Coccinelle semantic patch:
>=20
> @r@
> identifier i : script:ocaml() { String.lowercase_ascii i =3D i };
> expression e;
> @@
>=20
> *#define i(...) e;
>=20
> Signed-off-by: Julia Lawall <[email protected]>
>=20
> ---
> drivers/video/fbdev/au1100fb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied.
Thanks!
Helge