switch-l4t-atf/lib
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 Exit early if size zero for cache helpers 2017-06-21 17:46:28 +01:00
aarch64 Exit early if size zero for cache helpers 2017-06-21 17:46:28 +01:00
compiler-rt Import ctzdi2.c from LLVM compiler-rt 2017-07-26 09:28:23 +01:00
cpus Fix order of #includes 2017-07-12 14:45:31 +01:00
el3_runtime aarch64: Enable Statistical Profiling Extensions for lower ELs 2017-06-22 10:33:19 +01:00
libfdt Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
locks Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
optee Add Trusted OS extra image parsing support for ARM standard platforms 2017-08-09 18:06:05 +08:00
pmf Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci psci_common: Resolve GCC static analysis false positive 2017-08-23 14:04:59 -07:00
semihosting Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stack_protector Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stdlib Use standard UNIX file:line format in assert 2017-07-19 05:57:40 +01:00
xlat_tables xlat lib: Fix some types 2017-07-26 09:28:23 +01:00
xlat_tables_v2 xlat lib v2: Fix sign of debug loop variable 2017-08-01 09:18:51 +01:00