Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287533
b: refs/heads/master
c: 0629292
h: refs/heads/master
i:
  287531: 097a82a
v: v3
  • Loading branch information
Greg Rose authored and Jeff Kirsher committed Feb 9, 2012
1 parent 64902a1 commit 54b72f4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b868179c47e9e8eadcd04c1f3105998e528988a3
refs/heads/master: 0629292117572a60465f38cdedde2f8164c3df0b
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/intel/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5012,7 +5012,8 @@ static int igb_find_enabled_vfs(struct igb_adapter *adapter)
vf_devfn = pdev->devfn + 0x80;
pvfdev = pci_get_device(hw->vendor_id, device_id, NULL);
while (pvfdev) {
if (pvfdev->devfn == vf_devfn)
if (pvfdev->devfn == vf_devfn &&
(pvfdev->bus->number >= pdev->bus->number))
vfs_found++;
vf_devfn += vf_stride;
pvfdev = pci_get_device(hw->vendor_id,
Expand Down

0 comments on commit 54b72f4

Please sign in to comment.