Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154970
b: refs/heads/master
c: 654b75e
h: refs/heads/master
v: v3
  • Loading branch information
Yu Zhao authored and Jesse Barnes committed Jun 29, 2009
1 parent 8f4448c commit 28544c2
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 977badb2f385db14d8ba3fcf02fbd7ead8e63d0f
refs/heads/master: 654b75e044119bf8e7d773bce41ea039281bbfbe
2 changes: 1 addition & 1 deletion trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,7 @@ static int pci_parent_bus_reset(struct pci_dev *dev, int probe)
u16 ctrl;
struct pci_dev *pdev;

if (dev->subordinate)
if (pci_is_root_bus(dev->bus) || dev->subordinate || !dev->bus->self)
return -ENOTTY;

list_for_each_entry(pdev, &dev->bus->devices, bus_list)
Expand Down

0 comments on commit 28544c2

Please sign in to comment.