arm-trusted-firmware/plat/layerscape/common
Justin Chadwell b7f6525db6 Enable -Wshadow always
Variable shadowing is, according to the C standard, permitted and valid
behaviour. However, allowing a local variable to take the same name as a
global one can cause confusion and can make refactoring and bug hunting
more difficult.

This patch moves -Wshadow from WARNING2 into the general warning group
so it is always used. It also fixes all warnings that this introduces
by simply renaming the local variable to a new name

Change-Id: I6b71bdce6580c6e58b5e0b41e4704ab0aa38576e
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
2019-11-19 08:53:16 -06:00
..
aarch64 Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
include Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
tsp Remove duplicated definitions of linker symbols 2019-02-01 12:24:57 +00:00
ls_bl1_setup.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
ls_bl2_setup.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
ls_bl31_setup.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ls_common.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
ls_common.mk Remove unneeded include paths in PLAT_INCLUDES 2019-02-01 12:24:57 +00:00
ls_image_load.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ls_io_storage.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ls_timer.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ls_topology.c layerscape: Initial TF-A support for LS1043ardb 2018-04-10 01:24:40 +00:00
ls_tzc380.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ns_access.c Enable -Wshadow always 2019-11-19 08:53:16 -06:00