Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343283
b: refs/heads/master
c: 33e8b34
h: refs/heads/master
i:
  343281: a0c0587
  343279: db63445
v: v3
  • Loading branch information
Bjorn Helgaas committed Dec 7, 2012
1 parent 2c11a35 commit 20b62bf
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 231afea189c6363f2921042576da74e1fb0f2fc3
refs/heads/master: 33e8b34fdd5640f3aa1597710352349cbc823374
3 changes: 1 addition & 2 deletions trunk/drivers/pci/pcie/portdrv_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ static int pcie_port_enable_msix(struct pci_dev *dev, int *vectors, int mask)
* the value in this field indicates which MSI-X Table entry is
* used to generate the interrupt message."
*/
pos = pci_pcie_cap(dev);
pci_read_config_word(dev, pos + PCI_EXP_FLAGS, &reg16);
pcie_capability_read_word(dev, PCI_EXP_FLAGS, &reg16);
entry = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9;
if (entry >= nr_entries)
goto Error;
Expand Down

0 comments on commit 20b62bf

Please sign in to comment.