Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219227
b: refs/heads/master
c: d026d82
h: refs/heads/master
i:
  219225: 3339332
  219223: 30f9a9d
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 657d765 commit 9b0f70f
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: 266815e25522879cf10d4a8677f1589b7b67ee68
refs/heads/master: d026d8284378110c8629a259caaccae4628f1ce0
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/videobuf-dma-sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ static struct scatterlist *videobuf_pages_to_sg(struct page **pages,
goto nopage;
if (PageHighMem(pages[i]))
goto highmem;
sg_set_page(&sglist[i], pages[i], min(PAGE_SIZE, size), 0);
size -= min(PAGE_SIZE, size);
sg_set_page(&sglist[i], pages[i], min((unsigned)PAGE_SIZE, size), 0);
size -= min((unsigned)PAGE_SIZE, size);
}
return sglist;

Expand Down

0 comments on commit 9b0f70f

Please sign in to comment.