Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188041
b: refs/heads/master
c: 5bc923c
h: refs/heads/master
i:
  188039: 044b286
v: v3
  • Loading branch information
Dan Carpenter authored and Dmitry Torokhov committed Mar 5, 2010
1 parent efa21d8 commit faac8fe
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: 57e413d95b0f92b9a5569408ddc3441e0f20e856
refs/heads/master: 5bc923c505926af927d4f3011da92c243787d6a7
2 changes: 1 addition & 1 deletion trunk/drivers/input/joystick/gamecon.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ static int __init gc_setup_pad(struct gc *gc, int idx, int pad_type)
int i;
int err;

if (pad_type < 1 || pad_type > GC_MAX) {
if (pad_type < 1 || pad_type >= GC_MAX) {
pr_err("Pad type %d unknown\n", pad_type);
return -EINVAL;
}
Expand Down

0 comments on commit faac8fe

Please sign in to comment.