Re: 2.6.13-mm1

Joel Schopp
2005-09-01T21:26:22Z

> Try the diff below although I suspect much of the extra logic can go
> away and something like
>
> len = tty_buffer_request_root(tty, HVCS_BUFF_LEN);
> if(len) {
> len = hvc_get_chars(...., len);
> tty_insert_flip_string(tty, buf, len);
> }
>
> is better.

It's like whack a mole. 30 more now in drivers/serial/jsm/jsm_tty.c and
drivers/serial/icom.c