On Fri, Sep 14, 2018 at 04:23:52PM +0100, Al Viro wrote: > On Fri, Sep 14, 2018 at 03:39:30PM +0200, Johan Hovold wrote: > > > + if (port->serial->type->get_serial) > > > + return port->serial->type->get_serial(tty, ss); > > > + return -ENOIOCTLCMD; > > > +} > > > + > > > +static int serial_set_serial(struct tty_struct *tty, struct > > > serial_struct *ss) > > > +{ > > > + struct usb_serial_port *port = tty->driver_data; > > > > And here. > > > > > + if (port->serial->type->set_serial) > > > + return port->serial->type->get_serial(tty, ss); > > ... and another cut'n'paste braino - it's set_serial, of course.
Bah, I thought I'd checked them all. :) Thanks, Johan