RE: [PATCH v10 2/7] PCI/AER: factor out error reporting from AER

From: David Laight
Date: Thu Feb 22 2018 - 13:41:58 EST


From: Christoph Hellwig
> > - pci_uevent_ers(dev, PCI_ERS_RESULT_DISCONNECT);
> > - /* TODO: Should kernel panic here? */
> > - pci_info(dev, "AER: Device recovery failed\n");
> > -}
> > +EXPORT_SYMBOL(pci_find_aer_service);
>
> EXPORT_SYMBPOL_GPL please.

Is this a function that a 'normal' PCIe device driver would need to call?
If so it is a PITA requiring all drivers that want AER to be GPL.

David