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

Christoph Hellwig
2022-02-24T11:07:34Z

On Mon, Jun 07, 2021 at 11:39:13PM +0800, Dejin Zheng wrote:
> Introduce pcim_alloc_irq_vectors(), a device-managed version of
> pci_alloc_irq_vectors(). Introducing this function can simplify
> the error handling path in many drivers.

How does it do that when it just is a trivial wrapper erroring out
for the unmanaged case?