Tag: f0886a66295ccd9c81eb0cceb596e5fbc19dc2ac

Input: w90p910_keypad – pass correct pointer to free_irq()

Author: Lars-Peter Clausen <lars@metafoo.de> 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: …

Continue reading