git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
alpha
/
kernel
/
pci.c
diff --git
a/arch/alpha/kernel/pci.c
b/arch/alpha/kernel/pci.c
index
ffb7d54
..
3c10b9a
100644
(file)
--- a/
arch/alpha/kernel/pci.c
+++ b/
arch/alpha/kernel/pci.c
@@
-516,10
+516,11
@@
sys_pciconfig_iobase(long which, unsigned long bus, unsigned long dfn)
if (bus == 0 && dfn == 0) {
hose = pci_isa_hose;
} else {
- dev = pci_
fi
nd_slot(bus, dfn);
+ dev = pci_
get_bus_a
nd_slot(bus, dfn);
if (!dev)
return -ENODEV;
hose = dev->sysdata;
+ pci_dev_put(dev);
}
}