From: Lars-Peter Clausen Date: Fri, 24 May 2013 22:55:26 +0000 (-0700) Subject: drivers/rtc/rtc-pl031.c: pass correct pointer to free_irq() X-Git-Tag: v3.10-rc3~12^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cac29af6bd6bc5c53499f39ef1eade193295b2f1;p=pandora-kernel.git drivers/rtc/rtc-pl031.c: pass correct pointer to free_irq() free_irq() expects the same pointer that was passed to request_irq(), otherwise the IRQ is not freed. The issue was found using the following coccinelle script: @r1@ type T; T devid; @@ request_irq(..., devid) @r2@ type r1.T; T devid; position p; @@ free_irq@p(..., devid) @@ position p != r2.p; @@ *free_irq@p(...) Signed-off-by: Lars-Peter Clausen Cc: Srinidhi Kasagar Cc: Linus Walleij Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed