/* Invoked when error is detected at the Root Port.  */
static void find_source_device(struct pci_dev *parent, struct aer_err_info *e_info)
/* Invoked when error is detected at the Root Port.  */
static void find_source_device(struct pci_dev *parent, struct aer_err_info *e_info)
{
	struct pci_dev *dev = parent;
	int result;
	result = find_device_iter(dev, e_info);
	if (result)
		return;
	pci_walk_bus(parent->subordinate, find_device_iter, e_info);
}