Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210235
b: refs/heads/master
c: 0c47a70
h: refs/heads/master
i:
  210233: 4baa969
  210231: c71f3f8
v: v3
  • Loading branch information
Hank Janssen authored and Greg Kroah-Hartman committed Sep 4, 2010
1 parent d03095e commit e08cb88
Show file tree
Hide file tree
Showing 2 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: b681b5886bb5d1f5b6750a0ed7c62846da7ccea4
refs/heads/master: 0c47a70a9a8a6d1ec37a53d2f9cb82f8b8ef8aa2
4 changes: 2 additions & 2 deletions trunk/drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ static unsigned int copy_to_bounce_buffer(struct scatterlist *orig_sgl,

/* ASSERT(orig_sgl[i].offset + orig_sgl[i].length <= PAGE_SIZE); */

if (j == 0)
if (bounce_addr == 0)
bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);

while (srclen) {
Expand Down Expand Up @@ -556,7 +556,7 @@ static unsigned int copy_from_bounce_buffer(struct scatterlist *orig_sgl,
destlen = orig_sgl[i].length;
/* ASSERT(orig_sgl[i].offset + orig_sgl[i].length <= PAGE_SIZE); */

if (j == 0)
if (bounce_addr == 0)
bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);

while (destlen) {
Expand Down

0 comments on commit e08cb88

Please sign in to comment.