diff options
author | Eric Sesterhenn <[email protected]> | 2006-10-10 14:37:29 -0700 |
---|---|---|
committer | Paul Mackerras <[email protected]> | 2006-10-16 15:52:14 +1000 |
commit | bb579cf1d413b930be0241987b848e0f0c1b292f (patch) | |
tree | 2a57ee873749bbb12eca3b1f5cff01fa22ddf760 /lib/vsprintf.c | |
parent | ee4ea82c07fa8aa46037962ec3e8b40c5144b5eb (diff) |
[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 <[email protected]>
Cc: Vitaly Bordug <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions