Re: [PATCH v3 03/11] net/ethernet: Use never-managed version of pci_intx()

From: Paolo Abeni
Date: Thu Dec 12 2024 - 09:56:51 EST


On 12/9/24 14:06, Philipp Stanner wrote:
> pci_intx() is a hybrid function which can sometimes be managed through
> devres. To remove this hybrid nature from pci_intx(), it is necessary to
> port users to either an always-managed or a never-managed version.
>
> broadcom/bnx2x and brocade/bna enable their PCI-Device with
> pci_enable_device(). Thus, they need the never-managed version.
>
> Replace pci_intx() with pci_intx_unmanaged().
>
> Signed-off-by: Philipp Stanner <pstanner@xxxxxxxxxx>

Acked-by: Paolo Abeni <pabeni@xxxxxxxxxx>