From: Dan Carpenter Date: Mon, 8 Mar 2010 13:39:24 +0000 (+0300) Subject: staging: rt2860: off by one errors X-Git-Tag: v2.6.35-rc1~441^2^2~542 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dbb8e57c1ef23e5822b85a646b4ba31a98b9864;p=pandora-kernel.git staging: rt2860: off by one errors The code is trying to say that if the offset is higher than the max it should be set to the max, but there is an off by one bug and it sets it one passed the end of the array. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed