]> git.baikalelectronics.ru Git - kernel.git/commit
tty: fix a little bug in scrup, vt.c
authorFrank Pan <frankpzh@gmail.com>
Wed, 26 May 2010 07:37:43 +0000 (15:37 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:37:18 +0000 (13:37 -0700)
commit87992de3fbc937af5373628868a4007fed50a142
tree9606786cc3ebd557d24e3e36f487a0c241fb3d9b
parentf26fa871709948fa3094e568ba947e249b64f403
tty: fix a little bug in scrup, vt.c

The code uses vc->vc_cols instead of vc->vc_size_row by mistake, it
will cause half of the region which is going to clear remain
uncleared.
The issue happens in background consoles, so it's hard to observe.

Frank Pan

Signed-off-by: Frank Pan <frankpzh@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/vt.c