1. 16 11月, 2011 1 次提交
  2. 31 3月, 2011 1 次提交
  3. 18 2月, 2011 3 次提交
  4. 23 10月, 2010 1 次提交
  5. 24 8月, 2010 2 次提交
  6. 11 8月, 2010 2 次提交
  7. 10 8月, 2010 1 次提交
  8. 21 5月, 2010 2 次提交
  9. 03 3月, 2010 4 次提交
  10. 20 9月, 2009 1 次提交
  11. 16 6月, 2009 1 次提交
  12. 13 6月, 2009 1 次提交
  13. 11 6月, 2009 1 次提交
  14. 24 4月, 2009 1 次提交
  15. 18 10月, 2008 1 次提交
  16. 14 10月, 2008 1 次提交
    • A
      tty: usb-serial krefs · 4a90f09b
      Alan Cox 提交于
      Use kref in the USB serial drivers so that we don't free tty structures
      from under the URB receive handlers as has historically been the case if
      you were unlucky. This also gives us a framework for general tty drivers to
      use tty_port objects and refcount.
      
      Contains two err->dev_err changes merged together to fix clashes in the
      -next tree.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4a90f09b
  17. 23 7月, 2008 2 次提交
  18. 22 7月, 2008 1 次提交
    • A
      USB: io_ti: FIrst cut at a big clean up · 2742fd88
      Alan Cox 提交于
      Sort out the insane naming like "OperationalFirmwareVersion" which seems
      	designed to cause formatting problems and RSI
      Merge various common code together
      Clean up the pointlessly complex and spread about MCR handling
      
      This is really just the low hanging fruit.
      
      Needs lots of testing before it goes upstream so testers and reports
      appreciated
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      2742fd88
  19. 15 7月, 2008 1 次提交
  20. 25 4月, 2008 7 次提交
  21. 19 4月, 2008 1 次提交
  22. 02 2月, 2008 2 次提交
  23. 20 7月, 2007 1 次提交
    • J
      USB: Remove pointless conditional in drivers/usb/serial/io_ti.c::edge_shutdown() · 0d46c007
      Jesper Juhl 提交于
      Coverity scan found (CID: 1708) this in
      drivers/usb/serial/io_ti.c::edge_shutdown() :
      
      ...
      2797 		for (i=0; i < serial->num_ports; ++i) {
      2798 			edge_port = usb_get_serial_port_data(serial->port[i]);
      2799 			edge_remove_sysfs_attrs(edge_port->port);
      2800 			if (edge_port) {
      2801 				edge_buf_free(edge_port->ep_out_buf);
      2802 				kfree(edge_port);
      2803 			}
      2804 			usb_set_serial_port_data(serial->port[i], NULL);
      2805 		}
      ...
      
      It's complaining that we dereference 'edge_port' in line 2799 which
      makes the test of that pointer against NULL in 2800 pointless, since if
      edge_port was actually NULL we'd have crashed already before reaching
      line 2800.
      Reading the edge_open() function it seems to me that the pointer
      returned by usb_get_serial_port_data(serial->port[i]) and stored in
      'edge_port' can never actually be NULL here, so the test is entirely
      superfluous (even if it could be NULL it would be pointless here,
      ignoring the then possible crash in that case, since both
      edge_buf_free() and kfree() can handle being passed NULL pointers.
      
      This patch removes the pointless conditional (and also makes a few
      tiny style corrections now that I was in the area anyway).
      Signed-off-by: NJesper Juhl <jesper.juhl@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0d46c007
  24. 13 7月, 2007 1 次提交