]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
n_tty: Factor canonical mode copy from n_tty_read()
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:16 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:42:59 +0000 (16:42 -0700)
commit88bb0de389a464521034e87816e5d6c7c489a664
treec0fba682e87181fcaa530619f5123f08fa308d14
parent24a89d1cb69b6c488cf16d98dd02e7820f62b40c
n_tty: Factor canonical mode copy from n_tty_read()

Simplify n_tty_read(); extract complex copy algorithm
into separate function, canon_copy_to_user().

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c