]> err.no Git - linux-2.6/commit
[ARM] Off-by-one in arch/arm/common/icst*
authorEric Sesterhenn <snakebyte@gmx.de>
Tue, 26 Sep 2006 12:22:00 +0000 (14:22 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Sep 2006 22:17:54 +0000 (23:17 +0100)
commitd1d8f7dec179a421d6d449ddcd1713ed55db40be
tree46dff83ffc5618eb22b60add847434b7e03ada53
parent576b3ef2495c732a56509febd5de5144f3ebccf6
[ARM] Off-by-one in arch/arm/common/icst*

hi,

a quick find -iname \*.[ch] | xargs grep "> ARRAY_SIZE(", revealed
these in the icst drivers.
If i == ARRAY_SIZE, we get past the idx2s array.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/icst307.c
arch/arm/common/icst525.c