android_kernel_xiaomi_sm8350/arch/mips
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
..
au1000 [MIPS] MTX-1 flash partition setup move to platform devices registration 2008-07-15 18:44:38 +01:00
basler/excite
bcm47xx
boot
cobalt
configs [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00
dec
emma2rh [MIPS] Remove mips_machtype from EMMA2RH machines 2008-07-15 18:44:39 +01:00
fw [MIPS] Remove mips_machtype from ARC based machines 2008-07-15 18:44:38 +01:00
gt64120/wrppmc
jazz [MIPS] Remove mips_machtype from ARC based machines 2008-07-15 18:44:38 +01:00
kernel Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-07-15 15:01:29 -07:00
lasat [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
lemote/lm2e
lib
math-emu [MIPS] Fix missing prototypes in asm/fpu.h 2008-07-20 14:38:17 +01:00
mipssim
mm Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-07-15 15:01:29 -07:00
mti-malta
nxp/pnx8550
oprofile generic-ipi: more merge fallout 2008-07-15 22:08:52 +02:00
pci [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00
pmc-sierra Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
rb532 [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00
sgi-ip22 [MIPS] mips/sgi-ip22/ip28-berr.c: fix the build 2008-07-20 14:38:19 +01:00
sgi-ip27
sgi-ip32 [MIPS] IP32: Use common SGI button driver 2008-07-20 14:38:18 +01:00
sibyte Merge branch 'generic-ipi' into generic-ipi-for-linus 2008-07-15 21:55:59 +02:00
sni
txx9 [MIPS] TXx9: Miscellaneous build fixes 2008-07-20 14:38:19 +01:00
vr41xx [MIPS] cmbvr4133: Remove support 2008-07-15 18:44:36 +01:00
Kconfig [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00
Kconfig.debug
Makefile [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00