]> git.baikalelectronics.ru Git - kernel.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)
commit7810342844dc05dab1a86937c5aab8561c9af706
treec0fba682e87181fcaa530619f5123f08fa308d14
parentbf5b894178a27dd69bd9ceeb70c977d1d3d6be5a
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