projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f38db65
)
[PATCH] Calgary IOMMU: break out of pci_find_device_reverse if dev not found
author
Muli Ben-Yehuda
<muli@il.ibm.com>
Tue, 26 Sep 2006 08:52:31 +0000
(10:52 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:31 +0000
(10:52 +0200)
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/pci-calgary.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/pci-calgary.c
b/arch/x86_64/kernel/pci-calgary.c
index 96f6a866afad530d3054bc481e00c4b53521d683..b2182c936305c006eac9b717fb139b68521e4fd7 100644
(file)
--- a/
arch/x86_64/kernel/pci-calgary.c
+++ b/
arch/x86_64/kernel/pci-calgary.c
@@
-844,6
+844,8
@@
error:
dev = pci_find_device_reverse(PCI_VENDOR_ID_IBM,
PCI_DEVICE_ID_IBM_CALGARY,
dev);
+ if (!dev)
+ break;
if (!translate_phb(dev)) {
pci_dev_put(dev);
continue;