1. 21 10月, 2016 1 次提交
    • J
      USB: serial: fix potential NULL-dereference at probe · 126d26f6
      Johan Hovold 提交于
      Make sure we have at least one port before attempting to register a
      console.
      
      Currently, at least one driver binds to a "dummy" interface and requests
      zero ports for it. Should such an interface also lack endpoints, we get
      a NULL-deref during probe.
      
      Fixes: e5b1e206 ("USB: serial: make minor allocation dynamic")
      Cc: stable <stable@vger.kernel.org>	# 3.11
      Signed-off-by: NJohan Hovold <johan@kernel.org>
      126d26f6
  2. 20 10月, 2016 1 次提交
  3. 17 10月, 2016 1 次提交
  4. 27 9月, 2016 1 次提交
  5. 12 9月, 2016 1 次提交
  6. 24 8月, 2016 1 次提交
  7. 23 8月, 2016 5 次提交
  8. 22 8月, 2016 1 次提交
  9. 20 8月, 2016 1 次提交
    • A
      USB: serial: option: add WeTelecom WM-D200 · 6695593e
      Aleksandr Makarov 提交于
      Add support for WeTelecom WM-D200.
      
      T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
      D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
      P:  Vendor=22de ProdID=6801 Rev=00.00
      S:  Manufacturer=WeTelecom Incorporated
      S:  Product=WeTelecom Mobile Products
      C:  #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
      I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      Signed-off-by: NAleksandr Makarov <aleksandr.o.makarov@gmail.com>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NJohan Hovold <johan@kernel.org>
      6695593e
  10. 15 8月, 2016 2 次提交
  11. 08 8月, 2016 5 次提交
  12. 16 7月, 2016 2 次提交
  13. 15 7月, 2016 5 次提交
  14. 08 6月, 2016 1 次提交
    • S
      USB: mos7720: delete parport · dcb21ad4
      Sudip Mukherjee 提交于
      parport subsystem has introduced parport_del_port() to delete a port
      when it is going away. Without parport_del_port() the registered port
      will not be unregistered.
      To reproduce and verify the error:
      Command to be used is : ls /sys/bus/parport/devices
      1) without the device attached there is no output as there is no
      registered parport.
      2) Attach the device, and the command will show "parport0".
      3) Remove the device and the command still shows "parport0".
      4) Attach the device again and we get "parport1".
      
      With the patch applied:
      1) without the device attached there is no output as there is no
      registered parport.
      2) Attach the device, and the command will show "parport0".
      3) Remove the device and there is no output as "parport0" is now
      removed.
      4) Attach device again to get "parport0" again.
      
      Cc: <stable@vger.kernel.org> # 4.2+
      Signed-off-by: NSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dcb21ad4
  15. 11 5月, 2016 1 次提交
  16. 10 5月, 2016 8 次提交
  17. 05 5月, 2016 3 次提交