]> git.hungrycats.org Git - linux/commit
[PATCH] fbcon_do_set_font() sanitized
authorAlexander Viro <viro@www.linux.org.uk>
Thu, 29 Jul 2004 15:48:06 +0000 (08:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 29 Jul 2004 15:48:06 +0000 (08:48 -0700)
commitf5f697ab87ed610c469959398f342dbdaac4b7df
tree682f9063689c56e88e64d7bd795e47f322dbe0dd
parent7b083b32924cf32e88fc524d29fd787a606b0fb9
[PATCH] fbcon_do_set_font() sanitized

fbcon internal cleanup.  Instead of passing console_font_op into
fbcon_do_set_font() we pass width/height directly.  Amusing (but harmless)
bug fixed there:
if (!w > 32) {
bogus code that fortunately never got triggered
}
Fixed by removal of the junk in question (and yes, it's verifiable junk -
it would not do anything even if we replaced the check with intended
!(w > 32)).

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/console/fbcon.c