Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362873
b: refs/heads/master
c: d65eba6
h: refs/heads/master
i:
  362871: 3b27d6c
v: v3
  • Loading branch information
Yijing Wang authored and Bjorn Helgaas committed Apr 12, 2013
1 parent 46df489 commit 343350c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 981cf9ea9a6a6c422e51fc04bedad00b7792ccbc
refs/heads/master: d65eba6a7a769bb939303969267cbf1c916358f5
4 changes: 2 additions & 2 deletions trunk/drivers/pci/hotplug/acpiphp_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1082,11 +1082,11 @@ static void acpiphp_set_hpp_values(struct pci_bus *bus)
*/
static void acpiphp_sanitize_bus(struct pci_bus *bus)
{
struct pci_dev *dev;
struct pci_dev *dev, *tmp;
int i;
unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM;

list_for_each_entry(dev, &bus->devices, bus_list) {
list_for_each_entry_safe(dev, tmp, &bus->devices, bus_list) {
for (i=0; i<PCI_BRIDGE_RESOURCES; i++) {
struct resource *res = &dev->resource[i];
if ((res->flags & type_mask) && !res->start &&
Expand Down

0 comments on commit 343350c

Please sign in to comment.