From: Lars-Peter Clausen Date: Mon, 20 May 2013 17:14:50 +0000 (+0200) Subject: crypto: hifn_795x - Pass correct pointer to free_irq() X-Git-Tag: v3.11-rc1~82^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b02266531f3e7f9b3ce8fc95c06a15b99fd13b7f;p=pandora-kernel.git crypto: hifn_795x - 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed