On Tue, Feb 27, 2018 at 02:12:28PM -0800, Linus Torvalds wrote: > On Tue, Feb 27, 2018 at 12:18 PM, Randy Dunlap <[email protected]> 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

