From: Pawel Osciak Date: Wed, 29 Jul 2009 22:02:10 +0000 (-0700) Subject: s3c-fb: fix off-by-one bug in loop indexes X-Git-Tag: v2.6.31-rc5~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c42b110caeb128819104d057acdaa1ae564b7c8d;p=pandora-kernel.git s3c-fb: fix off-by-one bug in loop indexes Fixed off-by-one bug in loop indexes - some elements beyond windows' array were accessed, which might result in memory access violations when removing/suspending the device. Signed-off-by: Pawel Osciak Reviewed-by: Kyungmin Park Signed-off-by: Marek Szyprowski Cc: Krzysztof Helt Cc: Ben Dooks Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed