From: Antonino A. Daplas Date: Tue, 13 Dec 2005 06:17:21 +0000 (-0800) Subject: [PATCH] fbdev: Fix incorrect unaligned access in little-endian machines X-Git-Tag: v2.6.15-rc6~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be0d9b6c7aeaad1683059c00131cabd4c894c17c;p=pandora-kernel.git [PATCH] fbdev: Fix incorrect unaligned access in little-endian machines The drawing function cfbfillrect does not work correctly when access is not unsigned-long aligned. It manifests as extra lines of pixels that are not complete drawn. Reversing the shift operator solves the problem, so I would presume that this bug would manifest only on little endian machines. The function cfbcopyarea may also have this bug. Aligned access should present no problems. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed