]> err.no Git - linux-2.6/commit
powerpc/mpic: Fix ambiguous else statement
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 23 May 2008 18:40:00 +0000 (04:40 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jun 2008 03:41:16 +0000 (13:41 +1000)
commit5073e7ee8684f3997b3633a2e5fa574027f37891
tree87e89f6c54435dc9bee7760abee620c9a500d179
parent8a3e1c670e503ddd6f6c373b307f38b783ee3a50
powerpc/mpic: Fix ambiguous else statement

This fixes the 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@ru.mvista.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mpic.c