[PATCH 0/5] USB: serial: fix abuse of interface data

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

 



Hi, 

These patches remove the last abuses of the interface data to signal device
disconnect.

Some checks where simply unnecessary as the functions in question never
accessed the device (e.g. tiocmget) while other uses still left potential
races as they did not use the disconnect mutex.

Thanks,
Johan


Johan Hovold (5):
  USB: opticon: fix abuse of interface data
  USB: oti6858: fix abuse of interface data
  USB: pl2303: fix abuse of interface data
  USB: io_ti: fix abuse of interface data
  USB: serial: fix interface data use

 drivers/usb/serial/io_ti.c      |   17 ++++++++++++-----
 drivers/usb/serial/opticon.c    |   15 ++++++++++-----
 drivers/usb/serial/oti6858.c    |    6 ------
 drivers/usb/serial/pl2303.c     |   17 ++++++++++-------
 drivers/usb/serial/usb-serial.c |    6 ++----
 5 files changed, 34 insertions(+), 27 deletions(-)

-- 
1.7.8.5

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