Tag: d7ecfff18451750bc3d41ca3e1d5422c5dbce796

Input: ep93xx_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