Re: please use pci_alloc_irq_vectors in thunderx_edac.

From: Johannes Thumshirn
Date: Thu Apr 13 2017 - 04:53:39 EST


On Wed, Apr 12, 2017 at 07:30:22PM +0200, Christoph Hellwig wrote:
> > 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.

So a checkpatch rule is the way to go, I guess.

--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850