Searched hist:b7f6525db642d533327403ff8130eb91190f2e98 (Results 1 – 4 of 4) sorted by relevance
| /rk3399_ARM-atf/plat/mediatek/mt8173/drivers/spm/ |
| H A D | spm_suspend.c | b7f6525db642d533327403ff8130eb91190f2e98 Tue Sep 17 14:21:50 UTC 2019 Justin Chadwell <justin.chadwell@arm.com> 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>
|
| /rk3399_ARM-atf/plat/rockchip/rk3399/drivers/dram/ |
| H A D | dfs.c | b7f6525db642d533327403ff8130eb91190f2e98 Tue Sep 17 14:21:50 UTC 2019 Justin Chadwell <justin.chadwell@arm.com> 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>
|
| /rk3399_ARM-atf/plat/renesas/rcar/ |
| H A D | bl2_plat_setup.c | b7f6525db642d533327403ff8130eb91190f2e98 Tue Sep 17 14:21:50 UTC 2019 Justin Chadwell <justin.chadwell@arm.com> 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>
|
| /rk3399_ARM-atf/ |
| H A D | Makefile | b7f6525db642d533327403ff8130eb91190f2e98 Tue Sep 17 14:21:50 UTC 2019 Justin Chadwell <justin.chadwell@arm.com> 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>
|