Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316442
b: refs/heads/master
c: 6cda0fc
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Bjorn Helgaas committed Jun 13, 2012
1 parent 57866eb commit 2d007ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f406384628e97618955e17e8d61e59d5ecdc9ca0
refs/heads/master: 6cda0fcf26df18f0e5476fbff12845cc46e1f41b
4 changes: 3 additions & 1 deletion trunk/drivers/pci/hotplug/shpchp_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ int __ref shpchp_configure_device(struct slot *p_slot)
struct pci_bus *child;
unsigned char busnr, start = parent->busn_res.start;
unsigned char end = parent->busn_res.end;
int max;
for (busnr = start; busnr <= end; busnr++) {
if (!pci_find_bus(pci_domain_nr(parent),
busnr))
Expand All @@ -84,7 +85,8 @@ int __ref shpchp_configure_device(struct slot *p_slot)
pci_dev_put(dev);
continue;
}
child->busn_res.end = pci_do_scan_bus(child);
max = pci_do_scan_bus(child);
pci_bus_update_busn_res_end(child, max);
pci_bus_size_bridges(child);
}
pci_configure_slot(dev);
Expand Down

0 comments on commit 2d007ce

Please sign in to comment.