[PATCH] vic: make irq_chip access typesafe

Linus Walleij linus.walleij at stericsson.com
Thu Feb 4 04:09:13 EST 2010


When I apply this patch to the latest linux-next
I get the following compile error:

  CC      arch/arm/common/vic.o
/local/scratch/elinwal/linux-next/arch/arm/common/vic.c: In function
'vic_init_arm':
/local/scratch/elinwal/linux-next/arch/arm/common/vic.c:338: error: 'i'
undeclared (first use in this function)
/local/scratch/elinwal/linux-next/arch/arm/common/vic.c:338: error:
(Each undeclared identifier is reported only once
/local/scratch/elinwal/linux-next/arch/arm/common/vic.c:338: error: for
each function it appears in.)
make[3]: *** [arch/arm/common/vic.o] Error 1
make[2]: *** [arch/arm/common] Error 2

However if I just add an int i; at the beginning of the offending
function U300 boots and runs like a charm, so given that you
fix this it's
Tested-by: Linus Walleij <linus.walleij at stericsson.com>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list