Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47595
b: refs/heads/master
c: 38584c1
h: refs/heads/master
i:
  47593: 8909cd6
  47591: 174256a
v: v3
  • Loading branch information
Jeff Moyer authored and Linus Torvalds committed Feb 11, 2007
1 parent dee7dbc commit 7b29e7a
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: 11f57cedcf382574a1e41d6cec2349f287fcea67
refs/heads/master: 38584c14bbba02d8aedace335073b30e49de66a0
2 changes: 1 addition & 1 deletion trunk/drivers/char/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static int raw_ctl_ioctl(struct inode *inode, struct file *filp,
goto out;
}

if (rq.raw_minor < 0 || rq.raw_minor >= MAX_RAW_MINORS) {
if (rq.raw_minor <= 0 || rq.raw_minor >= MAX_RAW_MINORS) {
err = -EINVAL;
goto out;
}
Expand Down

0 comments on commit 7b29e7a

Please sign in to comment.