1. 09 Feb, 2017 1 commit
  2. 12 Jan, 2017 1 commit
  3. 22 Aug, 2016 1 commit
  4. 24 Feb, 2016 3 commits
  5. 29 Jan, 2016 1 commit
  6. 26 Jan, 2016 2 commits
  7. 03 Dec, 2015 1 commit
  8. 30 Nov, 2015 3 commits
  9. 16 Jun, 2015 1 commit
  10. 07 Nov, 2014 1 commit
  11. 13 Mar, 2014 1 commit
  12. 24 Jan, 2014 4 commits
  13. 15 Aug, 2013 1 commit
  14. 03 Jun, 2013 1 commit
  15. 22 Dec, 2012 1 commit
  16. 16 Dec, 2012 1 commit
  17. 05 Oct, 2012 1 commit
  18. 24 Jul, 2012 4 commits
  19. 12 Jan, 2012 1 commit
  20. 21 May, 2010 1 commit
  21. 02 Mar, 2010 1 commit
    • Márton Németh's avatar
      i2c: Make PCI device ids constant · 4111ecd2
      Márton Németh authored
      The id_table field of the struct pci_driver is constant in <linux/pci.h>
      so it is worth to make 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: default avatarMárton Németh <nm127@freemail.hu>
      Cc: Julia Lawall <julia@diku.dk>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      4111ecd2
  22. 16 Jan, 2010 1 commit
  23. 07 Nov, 2009 1 commit
  24. 04 Oct, 2009 1 commit
  25. 18 Sep, 2009 1 commit
  26. 28 Mar, 2009 2 commits
  27. 26 Jan, 2009 1 commit
  28. 14 Jul, 2008 1 commit