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

From: Martin K. Petersen
Date: Mon Sep 19 2016 - 16:46:41 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.

Ching: Please test and review. Thanks!

Martin K. Petersen Oracle Linux Engineering