Re: [PATCH v5 3/4] PCI/DPC: Unify and plumb error handling into DPC

From: Sinan Kaya
Date: Wed Jan 17 2018 - 11:46:10 EST


On 1/17/2018 5:37 AM, Oza Pawandeep wrote:
> + driver = pci_find_dpc_service(udev);
> +#endif
> #if IS_ENABLED(CONFIG_PCIEAER)
> - /* Use the aer driver of the component firstly */
> - driver = pci_find_aer_service(udev);

I think we need a pci_find_service function that unifies these two.

--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.