06 Jan, 2012

1 commit

  • Data allocated with devm_ioremap or devm_ioremap_nocache should not be
    freed using iounmap, because doing so causes a dangling pointer, and a
    subsequent double free.

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

    //
    @r@
    expression x;
    @@
    (
    x = devm_ioremap(...)
    |
    x = devm_ioremap_nocache(...)
    )

    @@
    expression r.x;
    @@
    * iounmap(x)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Wim Van Sebroeck

    Julia Lawall
     

20 Sep, 2011

1 commit

  • The enable function was using the global timeout variable for local operations.
    This resulted in the value of the global variable being corrupted, thus
    breaking the code.

    Signed-off-by: John Crispin
    Signed-off-by: Thomas Langer
    Signed-off-by: Wim Van Sebroeck
    Cc: linux-watchdog@vger.kernel.org
    Cc: linux-mips@linux-mips.org

    John Crispin
     

19 May, 2011

1 commit

  • This patch adds the driver for the watchdog found inside the Lantiq SoC family.

    Signed-off-by: John Crispin
    Signed-off-by: Ralph Hempel
    Cc: Wim Van Sebroeck
    Cc: linux-mips@linux-mips.org
    Cc: linux-watchdog@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/2327/
    Signed-off-by: Ralf Baechle

    John Crispin