1. 16 11月, 2011 1 次提交
  2. 18 2月, 2011 2 次提交
  3. 23 1月, 2011 1 次提交
  4. 11 8月, 2010 1 次提交
  5. 10 8月, 2010 1 次提交
  6. 21 5月, 2010 1 次提交
  7. 03 3月, 2010 1 次提交
    • N
      USB serial: make USB device id constant · 7d40d7e8
      Németh Márton 提交于
      The id_table field of the struct usb_device_id is constant in <linux/usb.h>
      so it is worth to make the initialization data also constant.
      
      The semantic match that finds this kind of pattern is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r@
      disable decl_init,const_decl_init;
      identifier I1, I2, x;
      @@
      	struct I1 {
      	  ...
      	  const struct I2 *x;
      	  ...
      	};
      @s@
      identifier r.I1, y;
      identifier r.x, E;
      @@
      	struct I1 y = {
      	  .x = E,
      	};
      @c@
      identifier r.I2;
      identifier s.E;
      @@
      	const struct I2 E[] = ... ;
      @depends on !c@
      identifier r.I2;
      identifier s.E;
      @@
      +	const
      	struct I2 E[] = ...;
      // </smpl>
      Signed-off-by: NNémeth Márton <nm127@freemail.hu>
      Cc: Julia Lawall <julia@diku.dk>
      Cc: cocci@diku.dk
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7d40d7e8
  8. 23 9月, 2009 5 次提交
  9. 20 9月, 2009 2 次提交
  10. 16 6月, 2009 1 次提交
  11. 11 6月, 2009 5 次提交
  12. 24 4月, 2009 1 次提交
  13. 08 1月, 2009 1 次提交
  14. 18 10月, 2008 1 次提交
  15. 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
  16. 23 7月, 2008 2 次提交
  17. 09 5月, 2008 1 次提交
  18. 25 4月, 2008 4 次提交
  19. 02 2月, 2008 1 次提交