Re: hang with current sparse with upstream linux arm64 build

Richard Fitzgerald <[email protected]> Mon, 23 Feb 2026 17:20:13 +0000
Newsgroups org.kernel.vger.linux-sparse
Message-ID <[email protected]>
On 23/02/2026 4:43 pm, Linus Torvalds wrote:
> [ I should read all my emails before answering them, but I get too
> much, so here's a second answer just to make sure Ben and Richard see
> my first one in case they don't read the mailing list religiously ]
> 
> On Mon, 23 Feb 2026 at 06:08, Ben Dooks <[email protected]> wrote:
>>>
>> So currently it seems to be hanging when checking drivers/clk/clk.c
>> doing the following.
>>
>> $ make C=1 drivers/clk/clk.o
>>
>> This is working under v6.19 and not under v7.0-rc1
>>
>> The git bisect is pointing to commit e19e1b480ac7 ("add default_gfp()
>> helper macro and use it in the new *alloc_obj() helpers"
> 
> So I think sparse should learn __VA_OPT__, but in the meantime, does
> this attached kernel patch fix it for you?
> 
> It seems to work in my tree, but I haven't actually done anything but
> a very quick build test.
> 
>                 Linus

Only tested with a single (Debian) X86_64 config.
Builds and boots ok.