diff options
author | 2014-12-17 02:53:59 +0300 | |
---|---|---|
committer | 2015-01-15 17:23:19 +0100 | |
commit | d3c2155ce5889731de5d18c53f7fbde2d1b87e00 (patch) | |
tree | 253ef0f62a1fc03a0b1f3c4d6c97b3fa9e28e694 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: tc3589x: get rid of platform data (diff) | |
download | linux-dev-d3c2155ce5889731de5d18c53f7fbde2d1b87e00.tar.xz linux-dev-d3c2155ce5889731de5d18c53f7fbde2d1b87e00.zip |
gpio: grgpio: off by one in grgpio_to_irq()
"gc->ngpio" is a number between 1 and GRGPIO_MAX_NGPIO. If "offset" is
GRGPIO_MAX_NGPIO then we're going one step beyond the end of the
priv->lirqs[] array.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions