vc_screen: extract vcs_read_buf
authorJiri Slaby <jslaby@suse.cz>
Tue, 18 Aug 2020 08:57:04 +0000 (10:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 11:45:22 +0000 (13:45 +0200)
commit6a6b76cc44c98a39d3e718aa2056e2e12b609615
tree38e395e57c46dcdd619838ab517937b6fa20dd35
parent5a52baaab029e38e919efff2abc0d4e89338d464
vc_screen: extract vcs_read_buf

And finally, move the attributes buffer handling to a separate function.
Leaving vcs_read quite compact.

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