switch-l4t-atf/lib/psci
Alistair Francis 5722b78cdb psci_common: Resolve GCC static analysis false positive
Previously commit 555ebb34db8f3424c1b394df2f10ecf9c1f70901 attmpted to fix this
GCC issue:

services/std_svc/psci/psci_common.c: In function 'psci_do_state_coordination':
services/std_svc/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;

This fix doesn't work as asserts aren't built in non-debug build flows.

Let's use GCCs #pragma option (documented here:
https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html) to avoid
this false positive instead.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
2017-08-23 14:04:59 -07:00
..
aarch32 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
aarch64 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci_common.c psci_common: Resolve GCC static analysis false positive 2017-08-23 14:04:59 -07:00
psci_lib.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci_main.c Tegra: enable 'signed-comparison' compilation warning/errors 2017-06-14 14:59:07 -07:00
psci_off.c Tegra: enable 'signed-comparison' compilation warning/errors 2017-06-14 14:59:07 -07:00
psci_on.c Address edge case for stale PSCI CPU data in cache 2017-07-26 11:59:00 +01:00
psci_private.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci_setup.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci_stat.c psci: minor fixes in lib 2017-06-22 22:10:32 +02:00
psci_suspend.c lib: psci: early suspend handler for platforms 2017-07-31 11:41:17 -07:00
psci_system_off.c Fix order of #includes 2017-07-12 14:45:31 +01:00