1
linux/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
apus_setup.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
bseip.h
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
cpci690.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpci690.h
est8260.h
ev64260.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ev64260.h
ev64360.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ev64360.h
fads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gemini_pci.c
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
gemini.h
hdpu.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
hdpu.h
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
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
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
mbx.h
mpc866ads_setup.c [POWERPC] Off-by-one in /arch/ppc/platforms/mpc8* 2006-10-16 15:52:14 +10:00
mpc885ads_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
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_pci.c
pal4_serial.h
pal4_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pal4.h
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
pq2ads_pd.h [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
pq2ads.c
pq2ads.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02: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
residual.c
rpx8260.h
rpxclassic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
rpxhiox.h
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
sbc82xx.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
sbc82xx.h
sbs8260.h
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_setup.c
tqm8260.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00