Re: [PATCH 1/6] arcmsr: use pci_alloc_irq_vectors

From: Martin K. Petersen
Date: Tue Oct 11 2016 - 16:18:08 EST


>>>>> "Christoph" == Christoph Hellwig <hch@xxxxxx> writes:

Christoph> Switch the arcmsr driver to use pci_alloc_irq_vectors. We
Christoph> need to two calls to pci_alloc_irq_vectors as arcmsr only
Christoph> supports multiple MSI-X vectors, but not multiple MSI
Christoph> vectors.

Christoph> Otherwise this cleans up a lot of cruft and allows to use a
Christoph> common request_irq loop for irq types, which happens to only
Christoph> iterate over a single line in the non MSI-X case.

Applied to 4.10/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering