Re: [PATCH v7 1/4] PCI: Introduce pcim_alloc_irq_vectors()
From: Christoph Hellwig
Date: Thu Feb 24 2022 - 06:07:35 EST
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?