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

Helge Deller <[email protected]>
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.
> 
> 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]>
> 
> ---
>   drivers/video/fbdev/au1100fb.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
applied.

Thanks!
Helge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.