1. 06 2月, 2008 1 次提交
    • J
      drivers/pcmcia: add missing pci_dev_get · 1523508d
      Julia Lawall 提交于
      pci_get_slot does a pci_dev_get, so pci_dev_put needs to be called in an
      error case.
      
      An extract of the semantic match used to find the problem is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @@
      type find1.T,T1,T2;
      identifier find1.E;
      statement find1.S;
      expression x1,x2,x3;
      expression find1.test;
      int ret != 0;
      @@
      
        T E;
        ...
      (
      * E = pci_get_slot(...);
        if (E == NULL) S
      |
      * if ((E = pci_get_slot(...)) == NULL)
        S
      )
        ... when != pci_dev_put(...,(T1)E,...)
            when != if (E != NULL) { ... pci_dev_put(...,(T1)E,...); ...}
            when != x1 = (T1)E
            when != E = x3;
            when any
        if (test) {
          ... when != pci_dev_put(...,(T2)E,...)
              when != if (E != NULL) { ... pci_dev_put(...,(T2)E,...); ...}
              when != x2 = (T2)E
      (
      *   return;
      |
      *   return ret;
      )
        }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1523508d
  2. 18 2月, 2007 1 次提交
  3. 01 10月, 2006 1 次提交
  4. 26 9月, 2005 1 次提交
  5. 08 7月, 2005 1 次提交
  6. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4