diff options
| author | Stefan Wahren <stefan.wahren@i2se.com> | 2016-08-27 16:19:49 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-07 15:23:41 +0200 |
| commit | 2b86bd6a16074544a477410cd5d390b9b3e72958 (patch) | |
| tree | afad16c0d4d586a84241988ae6e79aabd6032341 /tools/perf/scripts/python | |
| parent | 8996a69c0ebe0e38af254317d31625fc476a93de (diff) | |
drivers/perf: arm_pmu: Fix leak in error path
commit 753246840d012ae34ea80a1d40bc1546c62fb957 upstream.
In case of a IRQ type mismatch in of_pmu_irq_cfg() the
device node for interrupt affinity isn't freed. So fix this
issue by calling of_node_put().
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: fa8ad7889d83 ("arm: perf: factor arm_pmu core out to drivers")
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
