10 Dec, 2010

1 commit


10 Oct, 2010

1 commit


05 Jun, 2010

1 commit

  • phison uses interfaces and data that are built only when
    ATA_BMDMA is enabled, so it should depend on that symbol.

    drivers/staging/phison/phison.c:43: error: implicit declaration of function 'ATA_BMDMA_SHT'
    drivers/staging/phison/phison.c:43: error: initializer element is not constant
    drivers/staging/phison/phison.c:43: error: (near initialization for 'phison_sht.module')
    drivers/staging/phison/phison.c:47: error: 'ata_bmdma_port_ops' undeclared here (not in a function)

    Signed-off-by: Randy Dunlap
    Cc: evan_ko@phison.com
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     

12 May, 2010

1 commit


05 Mar, 2010

1 commit


04 Mar, 2010

1 commit

  • The id_table field of the struct pci_driver is constant in
    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/)

    //
    @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[] = ...;
    //

    Signed-off-by: Németh Márton
    Cc: Julia Lawall
    Cc: cocci@diku.dk
    Signed-off-by: Greg Kroah-Hartman

    Németh Márton
     

02 Mar, 2010

1 commit

  • This allows parallel scan and the like to be set without having to stop
    using the existing full helper functions. This patch merely adds the argument
    and fixes up the callers. It doesn't undo the special cases already in the
    tree or add any new parallel callers.

    Signed-off-by: Alan Cox
    Signed-off-by: Jeff Garzik

    Alan Cox
     

12 Dec, 2009

1 commit


04 Apr, 2009

6 commits