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
..
2006-10-07 22:08:26 +10:00
2006-10-10 11:55:25 +10:00
2006-10-10 11:55:25 +10:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:01:26 +02:00
2006-10-10 11:55:25 +10:00
2006-10-03 23:01:26 +02:00