Re: [PATCH] sparse: add support for __VA_OPT__

Richard Fitzgerald <[email protected]> Tue, 24 Feb 2026 12:42:19 +0000
Newsgroups org.kernel.vger.linux-sparse
Message-ID <[email protected]>
On 24/02/2026 11:56 am, Dan Carpenter wrote:
> Oh, sorry, Al's branch changed that code more than I imagined.  I would
> resend the patch, but I need to figure out this GCC warning...
> 
>    CC      pre-process.o
> pre-process.c: In function ‘substitute’:
> pre-process.c:785:16: warning: function may return address of local variable [-Wreturn-local-addr]
>    785 |         return list;
>        |                ^~~~
> pre-process.c:687:31: note: declared here
>    687 |                 struct token *added, *arg;
>        |                               ^~~~~
> 
> Anyway, here is what I've forward ported.
> 
> regards,
> dan carpenter
>

Tested-by: Richard Fitzgerald <[email protected]>