summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-04-30 12:41:21 +0000
committerArnd Bergmann <arnd@arndb.de>2012-10-09 17:27:01 +0200
commitc6e9fbbf4c9aa837c0d39a097f96aaf4f90dfef1 (patch)
treefdb9f96e20c9e009a401c7d4226a3ec7c1e6d5f1 /arch/arm/mach-integrator
parentb3796d92086ecea4c4825fa232da60b6d6f354af (diff)
ARM: assabet: fix bogus warning in get_assabet_scr (again)
Russell fixed this bogus warning before in 2f3eca8b4f "Shut up gcc warning in assabet.c", but apparently gcc has become smarter (or dumber) since 2005, and the same warning came up again. This uses the uninitialized_var() macro to convince gcc that the variable is actually being initialized. 100 times in fact. Without this patch, building assabet_defconfig results in: arch/arm/mach-sa1100/assabet.c: In function 'fixup_assabet': arch/arm/mach-sa1100/assabet.c:397:6: warning: 'scr' may be used uninitialized in this function [-Wuninitialized] arch/arm/mach-sa1100/assabet.c:389:16: note: 'scr' was declared here Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator')
0 files changed, 0 insertions, 0 deletions