aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDavid Winn <q-newsgroup@qypea.com>2008-10-03 01:46:02 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-08 20:23:11 -0700
commitbe38e82a6675bf9ee6a750f32683159c8b5ab1e5 (patch)
treeaa30db75b72ce250fec7162345df89a0d274e6bb /scripts/patch-kernel
parentff37b8e1ac5c7c0c663526d1c42a8ce3f9b9386b (diff)
fbcon: fix monochrome color value calculation
commit 08650869e0ec581f8d88cfdb563d37f5383abfe2 upstream Commit 22af89aa0c0b4012a7431114a340efd3665a7617 ("fbcon: replace mono_col macro with static inline") changed the order of operations for computing monochrome color values. This generates 0xffff000f instead of 0x0000000f for a 4 bit monochrome color, leading to image corruption if it is passed to cfb_imageblit or other similar functions. Fix it up. Cc: Harvey Harrison <harvey.harrison@gmail.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions