Re: [PATCH 1/2] USB: serial: ftdi_sio: clean up ioctl handler

2017-01-26 Thread Johan Hovold
On Wed, Jan 25, 2017 at 10:21:59PM +0100, Greg Kroah-Hartman wrote: > On Wed, Jan 25, 2017 at 06:22:53PM +0100, Johan Hovold wrote: > > Clean up the ioctl handler and make sure to pass an unsigned-int rather > > than serial_struct pointer to the TIOCSERGETLSR helper as this it what > > the user arg

Re: [PATCH 1/2] USB: serial: ftdi_sio: clean up ioctl handler

2017-01-25 Thread Greg KH
On Wed, Jan 25, 2017 at 06:22:53PM +0100, Johan Hovold wrote: > Clean up the ioctl handler and make sure to pass an unsigned-int rather > than serial_struct pointer to the TIOCSERGETLSR helper as this it what > the user argument really is. > > Signed-off-by: Johan Hovold > --- > drivers/usb/seri