linux/arch/mips/sgi-ip22
Adrian Bunk fc22c3571c [MIPS] mips/sgi-ip22/ip28-berr.c: fix the build
Commit 3e6ea3b0d7a93550a93a265e732413d3a5aaf0d2 (linux-mips.org) /
52f4f6bbcf (kernel.org)
([MIPS] Use kernel-supplied ARRAY_SIZE() macro.)
causes the following compile error:

<--  snip  -->

...
  CC      arch/mips/sgi-ip22/ip28-berr.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c: In function 'ip28_be_interrupt':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:415: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:415: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:415: warning: type defaults to 'int' in declaration of 'type name'
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:424: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:424: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:424: warning: type defaults to 'int' in declaration of 'type name'
make[2]: *** [arch/mips/sgi-ip22/ip28-berr.o] Error 1

<--  snip  -->

Using ARRAY_SIZE in these places in arch/mips/sgi-ip22/ip28-berr.c was
bogus, and therefore gets reverted by this patch.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-07-20 14:38:19 +01:00
..
ip22-berr.c [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
ip22-eisa.c [MIPS] IP22: Fix broken EISA interrupt setup by switching to generic i8259 2007-11-26 17:26:14 +00:00
ip22-hpc.c [PATCH] mips: nuke trailing whitespace 2005-09-05 00:06:07 -07:00
ip22-int.c [MIPS] Fix "no space between function name and open parenthesis" warnings. 2007-10-11 23:46:15 +01:00
ip22-mc.c [MIPS] IP28: switch to "normal" mode after PROM no longer needed 2008-07-15 18:44:32 +01:00
ip22-nvram.c [MIPS] IP22: Fix broken eeprom access by using __raw_readl/__raw_writel 2007-11-26 17:26:14 +00:00
ip22-platform.c [MIPS] IP22: Use common SGI button driver 2008-07-20 14:38:18 +01:00
ip22-reset.c [MIPS] IP22: Add platform device for Indy volume buttons 2008-07-15 18:44:37 +01:00
ip22-setup.c IP22ZILOG: fix lockup and sysrq 2007-11-29 09:24:53 -08:00
ip22-time.c [MIPS] IP22: Fix hang due to messing with timer interrupt handler 2007-10-17 18:28:49 +01:00
ip28-berr.c [MIPS] mips/sgi-ip22/ip28-berr.c: fix the build 2008-07-20 14:38:19 +01:00
Makefile [MIPS] IP28 support 2008-01-29 10:14:58 +00:00