diff options
author | Bernhard Rosenkränzer <bero@lindev.ch> | 2017-11-10 15:52:21 +0100 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-01-30 16:27:48 +0200 |
commit | ed47e09901f8c3c9cef85ab1fb406716cad8da21 (patch) | |
tree | 3cd80ba8279a929556ac9e4d6a3314a106bbf2fc /drivers | |
parent | 777469310ae0a60f0676f33ea1a0105e73e00251 (diff) |
Fix dimensions of psci_req_local_pwr_states
Wrong array size cause compilation error when using GCC 7.2:
lib/psci/psci_common.c: In function ‘psci_do_state_coordination’:
lib/psci/psci_common.c:220:27: error: array subscript is above array bounds [-Werror=array-bounds]
psci_req_local_pwr_states[pwrlvl - 1][cpu_idx] = req_pwr_state;
Change-Id: I5dc189e9624a3773e6f10d56d949d66c18c98206
Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
Reviewed-on: http://vgitil04.il.marvell.com:8080/49723
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hanna Hawa <hannah@marvell.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions