diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-23 16:29:59 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-23 16:38:15 (GMT) |
commit | d7ecfff18451750bc3d41ca3e1d5422c5dbce796 (patch) | |
tree | 131d001f05ffc4462114b4c0543093250a113064 /tools | |
parent | edbbee595d42f501cb1325d31ab3481d2bc4be0d (diff) | |
download | linux-fsl-qoriq-d7ecfff18451750bc3d41ca3e1d5422c5dbce796.tar.xz |
Input: ep93xx_keypad - 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:
<smpl>
@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(...)
</smpl>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions