Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299174
b: refs/heads/master
c: 6270d83
h: refs/heads/master
v: v3
  • Loading branch information
Roland Stigge authored and Grant Likely committed Apr 10, 2012
1 parent dfababf commit 27cd5fc
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: 078dc65e61c562e289685fe43b5ef58118e033fc
refs/heads/master: 6270d830d030da48eddffbe31ed1e4444f203fc5
2 changes: 1 addition & 1 deletion trunk/drivers/of/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ int of_gpio_simple_xlate(struct gpio_chip *gc,
if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells))
return -EINVAL;

if (gpiospec->args[0] > gc->ngpio)
if (gpiospec->args[0] >= gc->ngpio)
return -EINVAL;

if (flags)
Expand Down

0 comments on commit 27cd5fc

Please sign in to comment.