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:
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
|
blame
|
history
diff --git
a/drivers/pci/remove.c
b/drivers/pci/remove.c
index fd77e2bde2e8feadc7c5b1cceab94374f00100fe..04a4861b4749f94956ce1e730298658dba12f3a8 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;