projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a3583
)
PCI: release busn_res when removing bus
author
Yinghai Lu
<yinghai@kernel.org>
Fri, 18 May 2012 01:51:11 +0000
(18:51 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 13 Jun 2012 21:42:22 +0000
(15:42 -0600)
Release bus number resource when removing a bus.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/remove.c
patch
|
blob
|
history
diff --git
a/drivers/pci/remove.c
b/drivers/pci/remove.c
index
fd77e2b
..
04a4861
100644
(file)
--- a/
drivers/pci/remove.c
+++ b/
drivers/pci/remove.c
@@
-68,6
+68,7
@@
void pci_remove_bus(struct pci_bus *pci_bus)
down_write(&pci_bus_sem);
list_del(&pci_bus->node);
+ pci_bus_release_busn_res(pci_bus);
up_write(&pci_bus_sem);
if (!pci_bus->is_added)
return;