arm-trusted-firmware/services/std_svc/spm_mm
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 SPM: Rename folder of SPM based on MM 2019-01-22 09:21:07 +00:00
spm.mk SPM: Rename folder of SPM based on MM 2019-01-22 09:21:07 +00:00
spm_main.c Enable -Wshadow always 2019-11-19 08:53:16 -06:00
spm_private.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
spm_setup.c SPM: Rename folder of SPM based on MM 2019-01-22 09:21:07 +00:00
spm_shim_private.h SPM: Rename folder of SPM based on MM 2019-01-22 09:21:07 +00:00
spm_xlat.c SPM: Rename folder of SPM based on MM 2019-01-22 09:21:07 +00:00