Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35534
b: refs/heads/master
c: b7de567
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Corbet authored and Linus Torvalds committed Sep 26, 2006
1 parent f0ae4a5 commit 54b45f8
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: 1cc5f7142eca352109895fe20b1fc6405dd17727
refs/heads/master: b7de567bf3187ccf776e2fe0e241593cdcba5459
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/videodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
break;
}

if (index<=0 || index >= vfd->tvnormsize) {
if (index < 0 || index >= vfd->tvnormsize) {
ret=-EINVAL;
break;
}
Expand Down

0 comments on commit 54b45f8

Please sign in to comment.