04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: "David S. Miller"
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

06 Oct, 2012

1 commit


14 Oct, 2011

1 commit


04 Aug, 2011

1 commit

  • Pci_get_slot calls pci_dev_get, so pci_dev_put is needed before leaving the
    function in the case where pci_get_slot is locally used.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @@
    local idexpression x;
    expression e;
    @@

    *x = pci_get_slot(...)
    ... when != true x == NULL
    when != pci_dev_put(x)
    when != e = x
    when != if (x != NULL) {}
    *return ...;
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: David S. Miller

    Julia Lawall
     

31 Mar, 2011

1 commit


19 Jan, 2010

4 commits


04 Dec, 2009

1 commit


07 Jan, 2009

1 commit


30 Dec, 2008

1 commit


22 Oct, 2008

1 commit