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

From: Masahiro Yamada
Date: Tue Feb 27 2018 - 20:31:51 EST


2018-02-28 7:36 GMT+09:00 Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>:
> On Tue, Feb 27, 2018 at 02:12:28PM -0800, 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).
>>
>> But sparse doesn't have the same regular releases the kernel has. Oh well.
>
> To compensate this, I sent a patch to use '-Wno-unknown-attribute' for kernel
> builds. Masahiro Yamada has already taken it to the linux-kbuild tree.
> I'm not sure if it's planned for the next -rc or for 4.17, though.
>
> -- Luc Van Oostenryck


I am planning to send it in the next MW (i.e. v4.17-rc1)


If you want me to send this earlier as fixes PR,
please let me know.



--
Best Regards
Masahiro Yamada