aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pcie/aer')
-rw-r--r--drivers/pci/pcie/aer/aerdrv_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c
index 5591043acea7..1c7e660d6535 100644
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -357,7 +357,8 @@ static int find_aer_service_iter(struct device *device, void *data)
357static void find_aer_service(struct pci_dev *dev, 357static void find_aer_service(struct pci_dev *dev,
358 struct find_aer_service_data *data) 358 struct find_aer_service_data *data)
359{ 359{
360 device_for_each_child(&dev->dev, data, find_aer_service_iter); 360 int retval;
361 retval = device_for_each_child(&dev->dev, data, find_aer_service_iter);
361} 362}
362 363
363static pci_ers_result_t reset_link(struct pcie_device *aerdev, 364static pci_ers_result_t reset_link(struct pcie_device *aerdev,