vc_screen: extract vcs_read_buf_uni
authorJiri Slaby <jslaby@suse.cz>
Tue, 18 Aug 2020 08:57:02 +0000 (10:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 11:45:21 +0000 (13:45 +0200)
commit0f66eee346c1672bdb538031a5fe03ea1e0c626f
tree6d51a4432c676c4b0b8e6277aa5625144e8effd3
parent6d507c75e0cd359e4cede48230fb7e7a45c9bb74
vc_screen: extract vcs_read_buf_uni

The same as making write more readable, extract unicode handling from
vcs_read. The other two cases (w/ and w/o attributes) will follow.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200818085706.12163-12-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vc_screen.c