Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92630
b: refs/heads/master
c: ea8df7e
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 2ad0fd0 commit 8bd3d0d
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: d7aa80207babe694b316a48200b096cf0336ecb3
refs/heads/master: ea8df7e09d2226c321c234a8f736fdb167a046cb
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static void em28xx_copy_video(struct em28xx *dev,
lencopy = lencopy > remain ? remain : lencopy;

if((char*)startwrite + lencopy > (char*)outp + buf->vb.size) {
em28xx_isocdbg("Overflow of %i bytes past buffer end (1)\n",
em28xx_isocdbg("Overflow of %zi bytes past buffer end (1)\n",
((char*)startwrite + lencopy) - ((char*)outp + buf->vb.size));
lencopy = remain = (char*)outp + buf->vb.size - (char*)startwrite;
}
Expand All @@ -217,7 +217,7 @@ static void em28xx_copy_video(struct em28xx *dev,
BUG_ON(lencopy <= 0);

if((char*)startwrite + lencopy > (char*)outp + buf->vb.size) {
em28xx_isocdbg("Overflow of %i bytes past buffer end (2)\n",
em28xx_isocdbg("Overflow of %zi bytes past buffer end (2)\n",
((char*)startwrite + lencopy) - ((char*)outp + buf->vb.size));
lencopy = remain = (char*)outp + buf->vb.size - (char*)startwrite;
}
Expand Down

0 comments on commit 8bd3d0d

Please sign in to comment.