Re: [PATCH] sparse doesn't support indirect_branch attribute

From: Randy Dunlap
Date: Tue Feb 27 2018 - 17:30:12 EST


On 02/27/2018 02:12 PM, Linus Torvalds wrote:
> On Tue, Feb 27, 2018 at 12:18 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>>
>> I don't mind the patch, but I did send a patch for this attribute on Feb. 13, 2018,
>> to the sparse mailing list.
>
> I think the sparse plan is to just stop warning about unknown
> attributes, because it doesn't really help users (at most it's a note
> to a sparse developer).

Yes, there are sparse discussions about that.

There is also a kernel kbuild patch from Luc that Masahiro has also merged that
does -Wno-unknown-attributes (or however that is spelled).

> But sparse doesn't have the same regular releases the kernel has. Oh well.

Right.


--
~Randy