https://github.com/torvalds/linux
Revision 3880ecb05bc5ece4c6e392a21ea77518e55b4935 authored by Stephen Rothwell on 28 June 2010, 21:08:29 UTC, committed by Benjamin Herrenschmidt on 08 July 2010, 08:11:41 UTC
The feature-fixup test declare some extern void variables and then take their addresses. Fix this by declaring them as extern u8 instead. Fixes these warnings (treated as errors): CC arch/powerpc/lib/feature-fixups.o cc1: warnings being treated as errors arch/powerpc/lib/feature-fixups.c: In function 'test_cpu_macros': arch/powerpc/lib/feature-fixups.c:293:23: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:294:9: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:297:2: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:297:2: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c: In function 'test_fw_macros': arch/powerpc/lib/feature-fixups.c:306:23: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:307:9: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:310:2: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:310:2: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c: In function 'test_lwsync_macros': arch/powerpc/lib/feature-fixups.c:321:23: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:322:9: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:326:3: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:326:3: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:329:3: error: taking address of expression of type 'void' arch/powerpc/lib/feature-fixups.c:329:3: error: taking address of expression of type 'void' Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent 9ce9168
Tip revision: 3880ecb05bc5ece4c6e392a21ea77518e55b4935 authored by Stephen Rothwell on 28 June 2010, 21:08:29 UTC
powerpc: Fix feature-fixup tests for gcc 4.5
powerpc: Fix feature-fixup tests for gcc 4.5
Tip revision: 3880ecb
File | Mode | Size |
---|---|---|
Kbuild | -rw-r--r-- | 51 bytes |
atmel_lcdc.h | -rw-r--r-- | 7.1 KB |
aty128.h | -rw-r--r-- | 13.2 KB |
broadsheetfb.h | -rw-r--r-- | 2.1 KB |
cirrus.h | -rw-r--r-- | 5.7 KB |
cvisionppc.h | -rw-r--r-- | 1.5 KB |
da8xx-fb.h | -rw-r--r-- | 2.2 KB |
edid.h | -rw-r--r-- | 284 bytes |
epson1355.h | -rw-r--r-- | 2.4 KB |
gbe.h | -rw-r--r-- | 10.5 KB |
hecubafb.h | -rw-r--r-- | 1.5 KB |
iga.h | -rw-r--r-- | 787 bytes |
ili9320.h | -rw-r--r-- | 5.8 KB |
kyro.h | -rw-r--r-- | 2.4 KB |
mach64.h | -rw-r--r-- | 47.1 KB |
maxinefb.h | -rw-r--r-- | 1.2 KB |
mbxfb.h | -rw-r--r-- | 2.1 KB |
metronomefb.h | -rw-r--r-- | 1.5 KB |
neomagic.h | -rw-r--r-- | 4.9 KB |
newport.h | -rw-r--r-- | 18.6 KB |
permedia2.h | -rw-r--r-- | 9.0 KB |
platform_lcd.h | -rw-r--r-- | 550 bytes |
pm3fb.h | -rw-r--r-- | 45.3 KB |
pmag-ba-fb.h | -rw-r--r-- | 1.0 KB |
pmagb-b-fb.h | -rw-r--r-- | 2.3 KB |
pxa168fb.h | -rw-r--r-- | 2.7 KB |
radeon.h | -rw-r--r-- | 109.2 KB |
s1d13xxxfb.h | -rw-r--r-- | 10.1 KB |
sgivw.h | -rw-r--r-- | 24.1 KB |
sh_mobile_lcdc.h | -rw-r--r-- | 2.4 KB |
sisfb.h | -rw-r--r-- | 7.7 KB |
sstfb.h | -rw-r--r-- | 11.0 KB |
tdfx.h | -rw-r--r-- | 5.3 KB |
tgafb.h | -rw-r--r-- | 6.9 KB |
trident.h | -rw-r--r-- | 3.2 KB |
uvesafb.h | -rw-r--r-- | 3.7 KB |
vga.h | -rw-r--r-- | 14.2 KB |
w100fb.h | -rw-r--r-- | 3.7 KB |
Computing file changes ...