Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343109
b: refs/heads/master
c: d339f61
h: refs/heads/master
i:
  343107: 35cd336
v: v3
  • Loading branch information
Tushar Behera authored and Jiri Kosina committed Nov 16, 2012
1 parent f0129a1 commit 120d794
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: 88c687b3e643d83863746a45240950464c6d07a2
refs/heads/master: d339f61d14692517e9ba5a977fc266769d6c5c28
2 changes: 1 addition & 1 deletion trunk/drivers/hid/usbhid/hiddev.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ static long hiddev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
break;

case HIDIOCAPPLICATION:
if (arg < 0 || arg >= hid->maxapplication)
if (arg >= hid->maxapplication)
break;

for (i = 0; i < hid->maxcollection; i++)
Expand Down

0 comments on commit 120d794

Please sign in to comment.