]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fbdev: Possible endian fix in cfbimageblit
authorAntonino A. Daplas <adaplas@gmail.com>
Wed, 9 Nov 2005 05:39:17 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:36 +0000 (07:56 -0800)
commit81d3e147ec9ffc6ef04b5f05afa4bef22487b32b
tree68f3e0779b1bc45aa639d977ce0c36db4228fa4c
parent120ddb41f18c2d41702af561f4acfbcbd8d6fb46
[PATCH] fbdev: Possible endian fix in cfbimageblit

Fix possible endian bug(?) when bit testing in slow_imageblit().  This
function is rarely called (only if (width * bpp) % 32 != 0) thus the bug is
not triggered.

However, if the console is rotated at 90 or 270 degrees, the height becomes
the width, and a variety of fonts have heights that will force a call to
slow_imageblit().

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/cfbimgblt.c