arm-trusted-firmware/plat/rockchip/rk3399/drivers
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
..
dp Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
dram Enable -Wshadow always 2019-11-19 08:53:16 -06:00
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
m0 rk3399: m0: Fix compiler warnings. 2019-04-24 23:03:10 +02:00
pmu rockchip: rk3399: store actual debug uart information on suspend 2019-08-09 09:40:19 +02:00
pwm Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
secure Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
soc Sanitise includes across codebase 2019-01-04 10:43:17 +00:00