Messages in this thread | | | Date | Thu, 26 Jul 2012 01:23:37 +0100 | From | Alan Cox <> | Subject | Re: linux-next: build failure after merge of the final tree (tty tree related) |
| |
> > if (serial->type->set_termios) { > > - tty->termios->c_cflag = cflag; > > - tty_termios_encode_baud_rate(tty->termios, > > baud, baud); > > + tty->termios.c_cflag = cflag; > > + > > tty_termios_encode_baud_rate(&tty->termios, baud, baud); > > memset(&dummy, 0, sizeof(struct ktermios)); > > serial->type->set_termios(tty, port, &dummy); > > Alan, any objection to this?
The fix looks correct to me.
| |