[PATCH v2 0/3] n_tty_read() helper cleanups

From: Peter Hurley
Date: Fri Nov 27 2015 - 14:11:51 EST


Hi Greg,

This series rebases a couple of already-sent patches on top of the
EOF push bug fix, "n_tty: Fix poll() after buffer-limited eof push read",
and adds a third to reduce branching (which hopefully clarifies the
copy algorithm some).

I will also resend the "Rework tty audit" series, which requires this
series.

Regards,

Peter Hurley (3):
n_tty: Uninline tty_copy_to_user()
n_tty: Clarify copy_from_read_buf()
n_tty: Reduce branching in canon_copy_from_read_buf()

drivers/tty/n_tty.c | 48 +++++++++++++++++++++++++-----------------------
1 file changed, 25 insertions(+), 23 deletions(-)

--
2.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/