summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-10-08 13:54:31 +0400
committerMatthew Garrett <mjg@redhat.com>2010-10-21 18:10:47 +0400
commit4119617919c243755946699808ffd0f4befa62c7 (patch)
treea3072ec2107810b3dac2e9da0e8c366bfe946e43 /tools
parent35f0ce032b0f2d6974da516b5a113f49b7b70b09 (diff)
downloadlinux-4119617919c243755946699808ffd0f4befa62c7.tar.xz
intel_pmic_gpio: fix off-by-one value range checking
In pmic_irq_type(), we use gpio as array index for trigger, thus the valid value range for gpio should be 0 .. NUM_GPIO - 1. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions