tty: vt, do not pass structure over stack
authorJiri Slaby <jslaby@suse.cz>
Thu, 23 Jun 2016 11:34:32 +0000 (13:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 16:04:48 +0000 (09:04 -0700)
commit0f91e14264cb04c90987206f30d97385eef121c9
treedf4ed6698a84a302263bd014b86b33d7631b65e3
parente05ab238e30572abbac0cc4aba051553928de949
tty: vt, do not pass structure over stack

The compiler noticed passing structure over stack. Even though rgb is
a small structure, let us define one and pass that over all the
functions wherever needed.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c