diff options
author | 2018-07-13 17:55:15 +0300 | |
---|---|---|
committer | 2018-08-01 23:01:07 +0200 | |
commit | 19da44cd33a3a6ff7c97fff0189999ff15b241e4 (patch) | |
tree | 75f39dcb2ba818d4e93570c1dc00f42ef2c60c72 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | pinctrl: uniphier: add spi pin-mux settings (diff) | |
download | linux-dev-19da44cd33a3a6ff7c97fff0189999ff15b241e4.tar.xz linux-dev-19da44cd33a3a6ff7c97fff0189999ff15b241e4.zip |
pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show()
The info->groups[] array is allocated in imx1_pinctrl_parse_dt(). It
has info->ngroups elements. Thus the > here should be >= to prevent
reading one element beyond the end of the array.
Cc: stable@vger.kernel.org
Fixes: 30612cd90005 ("pinctrl: imx1 core driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Uwe Kleine-König <u.kleine-könig@pengutronix.de>
Acked-by: Dong Aisheng <Aisheng.dong@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions