diff options
author | 2013-05-23 09:30:19 -0700 | |
---|---|---|
committer | 2013-05-23 09:38:38 -0700 | |
commit | 139097a0a7cf0f63c1806cdca197f22b6f48501c (patch) | |
tree | e2bd33f1df6d9064d6653e3c28e863345ea59548 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Input: ixp4xx-beeper - pass correct pointer to free_irq() (diff) | |
download | linux-dev-139097a0a7cf0f63c1806cdca197f22b6f48501c.tar.xz linux-dev-139097a0a7cf0f63c1806cdca197f22b6f48501c.zip |
Input: pmic8xxx-pwrkey - 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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions