]> git.baikalelectronics.ru Git - kernel.git/commit
net: alx: switch to pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Apr 2017 11:01:21 +0000 (13:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 15:16:02 +0000 (11:16 -0400)
commitdd8a2003e8b3fe8ce5ec1c1a7db46b768a1d3553
tree220af737805f5361f8be8dc3337cadb95d23e751
parentab43de0aefc593cdc883d6f3b520da3391910dc2
net: alx: switch to pci_alloc_irq_vectors

Remove the deprecated pci_enable_msix API in favour of its successor,
and make sure to handle errors during IRQ setup properly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/alx.h
drivers/net/ethernet/atheros/alx/main.c