linux/arch/arm/mach-sa1100
Arnd Bergmann c6e9fbbf4c 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>
2012-10-09 17:27:01 +02:00
..
include/mach Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-10-07 21:20:57 +09:00
Kconfig ARM: 6459/2: sa1100: Add nanoEngine PCI support. 2010-12-21 14:53:46 +00:00
Makefile ARM: mach-sa1100: retire custom LED code 2012-08-01 11:22:14 +08:00
Makefile.boot ARM: sa1100: fix build error 2011-12-08 14:55:57 +08:00
assabet.c ARM: assabet: fix bogus warning in get_assabet_scr (again) 2012-10-09 17:27:01 +02:00
badge4.c ARM: mach-sa1100: retire custom LED code 2012-08-01 11:22:14 +08:00
cerf.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
clock.c ARM: sa1100: clean up clock support 2012-02-28 10:08:07 +08:00
collie.c ARM: sa1100: move platform_data definitions 2012-09-14 11:18:57 +02:00
cpu-sa1100.c ARM: sa11x0/pxa: convert OS timer registers to IOMEM 2012-07-09 17:37:35 +01:00
cpu-sa1110.c ARM: sa11x0/pxa: convert OS timer registers to IOMEM 2012-07-09 17:37:35 +01:00
generic.c Merge branch 'clean/late_initcall_v2' of git://git.linaro.org/people/shawnguo/linux-2.6 into staging/cleanup 2012-05-11 00:49:56 -07:00
generic.h ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
h3xxx.c ARM: sa11x0: convert to use DEFINE_RES_xxx macros 2012-02-09 15:34:12 +00:00
h3100.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
h3600.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
hackkit.c ARM: mach-sa1100: retire custom LED code 2012-08-01 11:22:14 +08:00
irq.c ARM: sa11x0/pxa: convert OS timer registers to IOMEM 2012-07-09 17:37:35 +01:00
jornada720.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
jornada720_ssp.c ARM: sa11x0/pxa: convert OS timer registers to IOMEM 2012-07-09 17:37:35 +01:00
lart.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
nanoengine.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
neponset.c ARM: neponset: make sure neponset_ncr_frob() is exported 2012-05-25 08:41:53 +01:00
pci-nanoengine.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
pleb.c ARM: sa1100: use machine specific hook for late init 2012-05-08 20:36:34 +08:00
pm.c ARM: sa11x0/pxa: convert OS timer registers to IOMEM 2012-07-09 17:37:35 +01:00
shannon.c ARM: sa1100: move platform_data definitions 2012-09-14 11:18:57 +02:00
simpad.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
sleep.S ARM: 7452/1: delay: allow timer-based delay implementation to be selected 2012-07-09 17:42:23 +01:00
ssp.c ARM: 7342/2: sa1100: prepare for sparse irq conversion 2012-03-25 23:57:20 +01:00
time.c ARM: sa11x0/pxa: convert OS timer registers to IOMEM 2012-07-09 17:37:35 +01:00