Re: [PATCH] USB: serial: Fix read regression in 2.6.31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > What backtrace do you get from the WARN_ON when that occurs. I'm trying
> > to work out how it happens in the first place because really it would be
> > better if it simply didn't happen at all.
> 
> drivers/usb/serial/usb-serial.c: serial_close - port 0
> drivers/usb/serial/usb-serial.c: serial_chars_in_buffer = port 0
> drivers/usb/serial/ftdi_sio.c: ftdi_chars_in_buffer - port 0
> drivers/usb/serial/ftdi_sio.c: ftdi_close
> drivers/usb/serial/usb-serial.c: serial_unthrottle - port 0

So its during the close not after it - that's not unreasonable. The test
itself should either go or use ASYNCB_INITIALISED.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux