OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/arch/x86_64/kernel/pci-calgary.c
b/arch/x86_64/kernel/pci-calgary.c
index
96f6a86
..
b2182c9
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;