From: Stefani Seibold Date: Thu, 6 Aug 2009 22:07:30 +0000 (-0700) Subject: fbcon: fix rotate upside down crash X-Git-Tag: v2.6.31-rc6~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93274e4d4e9416ad1fa47e2f26011e2c483fe5fe;p=pandora-kernel.git fbcon: fix rotate upside down crash Fix the rotate_ud() function not to crash in case of a font which has not a width of multiple by 8: The inner loop of the font pixel copy should not access a bit outside the font memory area. Subtract the shift offset from the font width will prevent this. Signed-off-by: Stefani Seibold Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed