Re: Linux 4.9.180 build fails with gcc 9 and 'cleanup_module' specifies less restrictive attribute than its target â

From: Miguel Ojeda
Date: Fri Aug 02 2019 - 09:01:28 EST


On Fri, Aug 2, 2019 at 1:25 PM Greg KH <greg@xxxxxxxxx> wrote:
>
> But it still doesn't work for 4.14.y and 4.19.y, so we are probably
> missing something there. So if you want to fix that up, I'd appreciate
> patches to do so :)

Hm... For 4.19.y and 4.14.y, I cannot see the init/exit_module
warnings under GCC 9.1.1. What do you mean it does not work?

Cheers,
Miguel