Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185765
b: refs/heads/master
c: aa75db0
h: refs/heads/master
i:
  185763: 1fe77d9
v: v3
  • Loading branch information
Dan Williams committed Mar 4, 2010
1 parent 580da4a commit cd8dd9f
Show file tree
Hide file tree
Showing 3 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: 281befa5592b0c5f9a3856b5666c62ac66d3d9ee
refs/heads/master: aa75db0080603bae27961c0502812dfd0f522bb3
2 changes: 1 addition & 1 deletion trunk/drivers/dma/ioat/dma_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static void __cleanup(struct ioat2_dma_chan *ioat, unsigned long phys_complete)
seen_current = true;
}
ioat->tail += i;
BUG_ON(!seen_current); /* no active descs have written a completion? */
BUG_ON(active && !seen_current); /* no active descs have written a completion? */

chan->last_completion = phys_complete;
if (ioat->head == ioat->tail) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/dma/ioat/dma_v3.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ static void __cleanup(struct ioat2_dma_chan *ioat, unsigned long phys_complete)
}
}
ioat->tail += i;
BUG_ON(!seen_current); /* no active descs have written a completion? */
BUG_ON(active && !seen_current); /* no active descs have written a completion? */
chan->last_completion = phys_complete;
if (ioat->head == ioat->tail) {
dev_dbg(to_dev(chan), "%s: cancel completion timeout\n",
Expand Down

0 comments on commit cd8dd9f

Please sign in to comment.