diff options
author | Will Deacon <will.deacon@arm.com> | 2015-10-12 14:48:39 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-10-15 17:11:23 +0200 |
commit | fb659882cc6482bd2e32ec0ab8ab7afeda649413 (patch) | |
tree | 2ae37a845f1964b8b89fdf8e5dfd90233cd8a142 /certs | |
parent | a0bcbe969f564d1ec08658170dda72a1b7e9053a (diff) | |
download | linux-fb659882cc6482bd2e32ec0ab8ab7afeda649413.tar.bz2 |
drivers/perf: arm_pmu: avoid CPU device_node reference leak
of_cpu_device_node_get increments the reference count on the CPU
device_node, so we must take care to of_node_put once we've finished
with it.
This patch fixes the perf IRQ probing code to avoid the leak.
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions