Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165425
b: refs/heads/master
c: 8211a7b
h: refs/heads/master
i:
  165423: 0f6982d
v: v3
  • Loading branch information
Troy Heber authored and David Woodhouse committed Aug 30, 2009
1 parent adffca4 commit a8502e8
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: 2ff729f5445cc47d1910386c36e53fc6b1c5e47a
refs/heads/master: 8211a7b5857914058c52ae977c96463e419b37ab
2 changes: 1 addition & 1 deletion trunk/drivers/pci/dmar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ irqreturn_t dmar_fault(int irq, void *dev_id)
source_id, guest_addr);

fault_index++;
if (fault_index > cap_num_fault_regs(iommu->cap))
if (fault_index >= cap_num_fault_regs(iommu->cap))
fault_index = 0;
spin_lock_irqsave(&iommu->register_lock, flag);
}
Expand Down

0 comments on commit a8502e8

Please sign in to comment.