Re: [RFC 1/2] n_tty: fix dropped output characters

2014-04-14 Thread One Thousand Gnomes
On Mon, 14 Apr 2014 15:05:49 +0200 Oliver Neukum wrote: > On Mon, 2014-04-14 at 13:53 +0100, One Thousand Gnomes wrote: > > On Fri, 11 Apr 2014 11:41:24 +0200 > > Johan Hovold wrote: > > > > > Fix characters being dropped by n_tty_write() due to a failure to > > > check the return value of tty_

Re: [RFC 1/2] n_tty: fix dropped output characters

2014-04-14 Thread Johan Hovold
On Mon, Apr 14, 2014 at 01:53:33PM +0100, One Thousand Gnomes wrote: > On Fri, 11 Apr 2014 11:41:24 +0200 > Johan Hovold wrote: > > > Fix characters being dropped by n_tty_write() due to a failure to > > check the return value of tty_put_char() in do_output_char(). > > > > Characters are current

Re: [RFC 1/2] n_tty: fix dropped output characters

2014-04-14 Thread Oliver Neukum
On Mon, 2014-04-14 at 13:53 +0100, One Thousand Gnomes wrote: > On Fri, 11 Apr 2014 11:41:24 +0200 > Johan Hovold wrote: > > > Fix characters being dropped by n_tty_write() due to a failure to > > check the return value of tty_put_char() in do_output_char(). > > > > Characters are currently bein

Re: [RFC 1/2] n_tty: fix dropped output characters

2014-04-14 Thread One Thousand Gnomes
On Fri, 11 Apr 2014 11:41:24 +0200 Johan Hovold wrote: > Fix characters being dropped by n_tty_write() due to a failure to > check the return value of tty_put_char() in do_output_char(). > > Characters are currently being dropped by write if a tty driver claims > to have write room available, bu