Loading arch/powerpc/oprofile/op_model_cell.c +1 −1 Original line number Diff line number Diff line Loading @@ -1077,7 +1077,7 @@ static int calculate_lfsr(int n) index = ENTRIES-1; /* make sure index is valid */ if ((index > ENTRIES) || (index < 0)) if ((index >= ENTRIES) || (index < 0)) index = ENTRIES-1; return initial_lfsr[index]; Loading Loading
arch/powerpc/oprofile/op_model_cell.c +1 −1 Original line number Diff line number Diff line Loading @@ -1077,7 +1077,7 @@ static int calculate_lfsr(int n) index = ENTRIES-1; /* make sure index is valid */ if ((index > ENTRIES) || (index < 0)) if ((index >= ENTRIES) || (index < 0)) index = ENTRIES-1; return initial_lfsr[index]; Loading