]> git.baikalelectronics.ru Git - kernel.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)
commit557727918b6a14495b6dfc7bcd587842ac4b02de
tree68f3e0779b1bc45aa639d977ce0c36db4228fa4c
parent4665f8b41d4d58db53c79a4b87a04ae0fea99fb2
[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