> >             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.

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

Reply via email to