Re: please use pci_alloc_irq_vectors in thunderx_edac.

From: Christoph Hellwig
Date: Wed Apr 12 2017 - 13:30:33 EST


On Wed, Apr 12, 2017 at 07:28:59PM +0200, Borislav Petkov wrote:
> On Wed, Apr 12, 2017 at 07:16:22PM +0200, Christoph Hellwig wrote:
> > Did we ever do this for deprecated APIs before? For now I'm just watching
> > Linux-next and sending gentle reminders :)
>
> $ git grep __deprecated
>
> shows some have been done. I wonder whether marking
> pci_enable_msix_exact() would cause a lot of warnings though. An
> allyesconfig build would tell...

It would cause lots of warnings. The problem with __deprecated is that
it causes warnings for existing users, not just new ones.