kernel-fxtec-pro1x/arch/ppc/platforms
Eric Sesterhenn bb579cf1d4 [POWERPC] Off-by-one in /arch/ppc/platforms/mpc8*
A find -iname \*.[ch] | xargs grep "> ARRAY_SIZE(" revealed several
incorrect usages of ARRAY_SIZE in the mpc drivers.  The last element in the
array is always ARRAY_SIZE()-1, this patch modifies the bounds checks
accordingly.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-16 15:52:14 +10:00
..
4xx Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
83xx Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
85xx [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
apus_pci.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
apus_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apus_setup.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
bseip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ccm.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
chestnut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
chestnut.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
cpci690.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpci690.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
est8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ev64260.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ev64260.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ev64360.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ev64360.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
fads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gemini.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
gemini_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gemini_prom.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gemini_serial.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gemini_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
hdpu.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
hdpu.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
hermes.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ip860.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ivms8.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
katana.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
katana.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
lantec.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lite5200.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lite5200.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
lopec.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lopec.h fix file specification in comments 2006-10-03 23:01:26 +02:00
lwmon.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc 2006-03-28 10:22:10 +11:00
mbx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc866ads_setup.c [POWERPC] Off-by-one in /arch/ppc/platforms/mpc8* 2006-10-16 15:52:14 +10:00
mpc885ads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mpc885ads_setup.c [POWERPC] Off-by-one in /arch/ppc/platforms/mpc8* 2006-10-16 15:52:14 +10:00
mpc8272ads_setup.c [POWERPC] Off-by-one in /arch/ppc/platforms/mpc8* 2006-10-16 15:52:14 +10:00
mvme5100.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mvme5100.h fix file specification in comments 2006-10-03 23:01:26 +02:00
pal4.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pal4_pci.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pal4_serial.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pal4_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pcu_e.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
powerpmc250.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
powerpmc250.h fix file specification in comments 2006-10-03 23:01:26 +02:00
pplus.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pplus.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
pq2ads.c [PATCH] ppc32: Update board-specific code of the CPM UART users 2006-04-28 21:11:30 +10:00
pq2ads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pq2ads_pd.h [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
prep_pci.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
prep_setup.c [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
prpmc750.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
prpmc750.h fix file specification in comments 2006-10-03 23:01:26 +02:00
prpmc800.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
prpmc800.h fix file specification in comments 2006-10-03 23:01:26 +02:00
radstone_ppc7d.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
radstone_ppc7d.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
residual.c [PATCH] powerpc: Remove sections use from ppc 2005-09-19 09:38:49 +10:00
rpx8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxclassic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rpxhiox.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpxlite.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sandpoint.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sandpoint.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
sbc82xx.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
sbc82xx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbs8260.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spruce.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
spruce.h fix file specification in comments 2006-10-03 23:01:26 +02:00
tqm8xx.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tqm8260.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tqm8260_setup.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00