Re: [PATCH v4 1/4] PCI: Introduce pcim_alloc_irq_vectors()

Robert Richter
2021-02-19T14:49:57Z

On 19.02.21 15:40:11, Robert Richter wrote:
> static inline int pcim_alloc_irq_vectors(struct pci_dev *dev,
> unsigned int min_vecs, unsigned int max_vecs, unsigned int flags)
> {
> if (!pci_is_managed(dev, min_vecs, max_vecs, flags))

Obiously this is meant here:

if (!pci_is_managed(dev))

> return -EINVAL;
>
> return pci_alloc_irq_vectors(dev, min_vecs, max_vecs, flags);
> }