diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/pci-calgary.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86_64/kernel/pci-calgary.c index 96f6a866afad..b2182c936305 100644 --- a/arch/x86_64/kernel/pci-calgary.c +++ b/arch/x86_64/kernel/pci-calgary.c | |||
@@ -844,6 +844,8 @@ error: | |||
844 | dev = pci_find_device_reverse(PCI_VENDOR_ID_IBM, | 844 | dev = pci_find_device_reverse(PCI_VENDOR_ID_IBM, |
845 | PCI_DEVICE_ID_IBM_CALGARY, | 845 | PCI_DEVICE_ID_IBM_CALGARY, |
846 | dev); | 846 | dev); |
847 | if (!dev) | ||
848 | break; | ||
847 | if (!translate_phb(dev)) { | 849 | if (!translate_phb(dev)) { |
848 | pci_dev_put(dev); | 850 | pci_dev_put(dev); |
849 | continue; | 851 | continue; |