Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70900
b: refs/heads/master
c: 9e91fdb
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and Jens Axboe committed Oct 17, 2007
1 parent 6eaac88 commit 002d8dc
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: 24c31eede658c30e4fcc93505589fd519c3aa4b8
refs/heads/master: 9e91fdb32d449a6b57f8236a793ae2f3df79b4d8
2 changes: 1 addition & 1 deletion trunk/lib/swiotlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems,
/* Don't panic here, we expect map_sg users
to do proper error handling. */
swiotlb_full(hwdev, sg->length, dir, 0);
swiotlb_unmap_sg(hwdev, sg - i, i, dir);
swiotlb_unmap_sg(hwdev, sgl, i, dir);
sgl[0].dma_length = 0;
return 0;
}
Expand Down

0 comments on commit 002d8dc

Please sign in to comment.