diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-03 15:04:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:07:09 +0200 |
| commit | cab422d563379e541f5dced2c9c7660a4d033b50 (patch) | |
| tree | c268066fe6f3231f5cb0ff5a0870e1fbdc7c0835 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 593bf2c988d022243ff4bf946d0ff62d6eb8137c (diff) | |
pinctrl: nsp: off by ones in nsp_pinmux_enable()
[ Upstream commit f90a21c898db58eaea14b8ad7e9af3b9e15e5f8a ]
The > comparisons should be >= or else we read beyond the end of the
pinctrl->functions[] array.
Fixes: cc4fa83f66e9 ("pinctrl: nsp: add pinmux driver support for Broadcom NSP SoC")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
