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-04 03:38:54 -04:00
2006-06-30 19:25:36 +02:00
2006-10-07 22:08:26 +10:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2006-10-10 11:55:25 +10:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-10-10 11:55:25 +10:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2006-10-03 23:01:26 +02:00
2006-06-30 19:25:36 +02:00
2006-03-28 10:22:10 +11:00
2005-04-16 15:20:36 -07:00
2006-10-16 15:52:14 +10:00
2006-10-16 15:52:14 +10:00
2006-06-30 19:25:36 +02:00
2006-10-16 15:52:14 +10:00
2006-06-30 19:25:36 +02:00
2006-10-03 23:01:26 +02:00
2006-02-10 16:53:51 +11:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-10-03 23:01:26 +02:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-08-19 17:44:31 -04:00
2006-04-28 21:11:30 +10:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:16 -07:00
2006-06-30 19:25:36 +02:00
2006-10-03 23:01:26 +02:00
2006-06-30 19:25:36 +02:00
2006-10-03 23:01:26 +02:00
2006-10-10 11:55:25 +10:00
2006-02-10 16:53:51 +11:00
2005-09-19 09:38:49 +10:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-10-10 11:55:25 +10:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-10-03 23:01:26 +02:00
2006-06-30 19:25:36 +02:00
2006-02-10 16:53:51 +11:00
2006-06-30 19:25:36 +02:00