31 Aug, 2013

1 commit

  • Added missing __iomem annotation and used NULL instead of 0
    in order to fix the following sparse warnings:

    drivers/mtd/maps/impa7.c:82:32: warning: Using plain integer as NULL pointer
    drivers/mtd/maps/impa7.c:96:34: warning: cast removes address space of expression
    drivers/mtd/maps/impa7.c:96:34: warning: incorrect type in argument 1 (different address spaces)
    drivers/mtd/maps/impa7.c:96:34: expected void volatile [noderef] *addr
    drivers/mtd/maps/impa7.c:96:34: got void *
    drivers/mtd/maps/impa7.c:108:34: warning: cast removes address space of expression
    drivers/mtd/maps/impa7.c:108:34: warning: incorrect type in argument 1 (different address spaces)
    drivers/mtd/maps/impa7.c:108:34: expected void volatile [noderef] *addr
    drivers/mtd/maps/impa7.c:108:34: got void *
    drivers/mtd/maps/impa7.c:109:45: warning: Using plain integer as NULL pointer

    Signed-off-by: Jingoo Han
    Signed-off-by: Brian Norris
    Signed-off-by: David Woodhouse

    Jingoo Han
     

05 Apr, 2013

1 commit


27 Mar, 2012

1 commit

  • The first 3 arguments of 'mtd_device_parse_register()' are pointers,
    but many callers pass '0' instead of 'NULL'. Fix this globally. Thanks
    to coccinelle for making it easy to do with the following semantic patch:

    @@
    expression mtd, types, parser_data, parts, nr_parts;
    @@
    (
    -mtd_device_parse_register(mtd, 0, parser_data, parts, nr_parts)
    +mtd_device_parse_register(mtd, NULL, parser_data, parts, nr_parts)
    |
    -mtd_device_parse_register(mtd, types, 0, parts, nr_parts)
    +mtd_device_parse_register(mtd, types, NULL, parts, nr_parts)
    |
    -mtd_device_parse_register(mtd, types, parser_data, 0, nr_parts)
    +mtd_device_parse_register(mtd, types, parser_data, NULL, nr_parts)
    )

    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse

    Artem Bityutskiy
     

11 Sep, 2011

2 commits


25 May, 2011

1 commit


10 Dec, 2008

1 commit


05 Jun, 2008

1 commit

  • Once upon a time, the MTD repository was using CVS.

    This patch therefore removes all usages of the no longer updated CVS
    keywords from the MTD code.

    This also includes code that printed them to the user.

    Signed-off-by: Adrian Bunk
    Signed-off-by: David Woodhouse

    Adrian Bunk
     

01 Jul, 2006

1 commit


07 Nov, 2005

1 commit


17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds