[PATCH] [POWERPC] mpic: fix ambiguous else statement

Kumar Gala galak at kernel.crashing.org
Sat May 24 03:56:08 EST 2008


On May 23, 2008, at 9:15 AM, Anton Vorontsov wrote:

> This patch fixes following warning introduced by
> commit 475ca391b490a683d66bf19999a8a7a24913f139 (mpic: Deal with  
> bogus NIRQ
> in Feature Reporting Register):
>
>  CC      arch/powerpc/sysdev/mpic.o
> arch/powerpc/sysdev/mpic.c: In function ‘mpic_alloc’:
> arch/powerpc/sysdev/mpic.c:1146: warning: suggest explicit braces to  
> avoid ambiguous ‘else’
>
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>

Acked-by: Kumar Gala <galak at kernel.crashing.org>

as pointed at to me if you set LANG=C in your environment gcc will  
stop spitting out the funny chars.

- k




More information about the Linuxppc-dev mailing list