Re: [PATCH] Revert "Permit silencing of __deprecated warnings."

From: Linus Torvalds
Date: Sat Aug 18 2018 - 15:42:37 EST


On Fri, Aug 17, 2018 at 7:45 PM Jason Gunthorpe <jgg@xxxxxxxxxxxx> wrote:
>
> Linus would prefer that __deprecated never produce a warning in an
> allyesconfig compile. Since we have been at this state for some time,
> the option no longer has a purpose.

I got rid of the option, but of the code too, and - trying to set a
good example - looked around for actual users and got rid of one
long-deprecated function that hasn't had an in-kernel user in four
years.

If there are some out-of-kernel modules still using
pcmcia_request_exclusive_irq(), I can only say "Oh wow, you haven't
fixed your broken out-of-tree module in the 8 years it has been
deprecated, see how much I care about your complaints now".

Maybe somebody will be willing to look at other cases of __deprecated,
but at least I won't be seeing warnings about it any more.

Linus