Messages in this thread | | | Date | Mon, 21 Mar 2011 11:02:14 +0000 | From | Alan Cox <> | Subject | Re: 'scheduling while atomic' during ppp connection on 2.6.37.1 and 2.6.38 |
| |
> Anyway is the test needed at all? I.e. could > tty->ops->write/chars_in_buffer/ntty_write_room be called with > port->port.count == 0 at all?
I'm not entirely sure what the Nozomi driver is trying to do. Generally any case a driver is looking at port->port.count it's a bug and should not matter with the tty krefs. However the chances are it should be testing *something* instead in this case.
Alan
| |