Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343839
b: refs/heads/master
c: 902e457
h: refs/heads/master
i:
  343837: 1acae63
  343835: dc37121
  343831: 820e49d
  343823: a6f441e
  343807: 4a3886f
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent f219e26 commit dcc8595
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: 067d85134a81e2c2a5566d93760e5f398e83a15e
refs/heads/master: 902e4575c3f7f5e989e4520a549b309dfb40a77c
2 changes: 1 addition & 1 deletion trunk/drivers/staging/media/go7007/go7007-v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
return retval;

mutex_lock(&gofh->lock);
if (buf->index < 0 || buf->index >= gofh->buf_count)
if (buf->index >= gofh->buf_count)
goto unlock_and_return;

gobuf = &gofh->bufs[buf->index];
Expand Down

0 comments on commit dcc8595

Please sign in to comment.