Re: [PATCH] sparse: add support for __VA_OPT__

Ben Dooks <[email protected]> Tue, 24 Feb 2026 13:15:06 +0000
Newsgroups org.kernel.vger.linux-sparse
Organization Codethink Limited.
Message-ID <[email protected]>
On 24/02/2026 12:42, Richard Fitzgerald wrote:
> 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]>
Tested-by: Ben Dooks <[email protected]>


-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html