linux/drivers/tty/vt
Jiri Slaby 42acfc6615 tty: vt, fix bogus division in csi_J
In csi_J(3), the third parameter of scr_memsetw (vc_screenbuf_size) is
divided by 2 inappropriatelly. But scr_memsetw expects size, not
count, because it divides the size by 2 on its own before doing actual
memset-by-words.

So remove the bogus division.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Petr Písař <ppisar@redhat.com>
Fixes: f8df13e0a9 (tty: Clean console safely)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-27 16:00:31 +02:00
..
.gitignore
consolemap.c tty: vt, ignore PIO_UNIMAPCLR param 2016-06-25 09:04:48 -07:00
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c TTY/Serial driver update for 4.8-rc1 2016-07-24 17:14:37 -07:00
Makefile tty: vt/Makefile: set the variables to static 2013-01-15 21:52:24 -08:00
selection.c tty: Replace TTY_THROTTLED bit tests with tty_throttled() 2016-04-30 09:26:55 -07:00
vc_screen.c vc: switch to fixed_size_llseek() 2013-06-29 12:57:30 +04:00
vt_ioctl.c tty: vt, ignore PIO_UNIMAPCLR param 2016-06-25 09:04:48 -07:00
vt.c tty: vt, fix bogus division in csi_J 2016-10-27 16:00:31 +02:00