arm-trusted-firmware/drivers/staging/renesas/rcar/ddr
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
..
ddr_a rcar_get3: drivers: ddr: Partly unify register macros between DDR A and B 2019-08-29 13:02:30 +02:00
ddr_b Enable -Wshadow always 2019-11-19 08:53:16 -06:00
boot_init_dram.h rcar_get3: drivers: ddr: Clean up common code 2019-08-29 13:02:30 +02:00
ddr.mk rcar_gen3: plat: Add R-Car V3M support 2019-04-02 15:37:00 +02:00
ddr_regs.h rcar_get3: drivers: ddr: Partly unify register macros between DDR A and B 2019-08-29 13:02:30 +02:00
dram_sub_func.c rcar_get3: drivers: ddr: Clean up common code 2019-08-29 13:02:30 +02:00
dram_sub_func.h rcar_get3: drivers: ddr: Clean up common code 2019-08-29 13:02:30 +02:00