commit | 55a4c5c515c1f4b4bde00c443e71ff9f3822013e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Thu Apr 22 11:40:53 2010 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Tue Jun 08 11:03:31 2010 +1000 |
tree | dbb2d3da6e010a794b25177a8c76af515e89dc14 | |
parent | 6d696305530c0b3fcd7d15ad87d7203cb53df5b7 [diff] |
nouveau: off by one in nv50_gpio_location() If "gpio->line" is 32 then "nv50_gpio_reg[gpio->line >> 3]" reads past the end of the array. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>