Skip to content
Snippets Groups Projects
Commit e51e47d3 authored by Axel Lin's avatar Axel Lin Committed by Andy Fleming
Browse files

powerpc: mpc85xx/mpc86xx: Fix off-by-one boundary checking with ARRAY_SIZE


If a variable is used as array subscript, it's valid value range is
0 ... ARRAY_SIZE -1.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent f90572d9
No related branches found
No related tags found
Loading
Showing
with 25 additions and 25 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment