diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-07 18:17:05 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-07-17 15:08:38 +0100 |
commit | 8e0c34b0d268f10d84cb3f79f59c140d545a553a (patch) | |
tree | 224645cb6eca4979c8737795a9c9826257bc0ac5 /arch/arm/kernel/traps.c | |
parent | df9de3c4295afa45d9c58c3d9039098af5765a21 (diff) |
ARM: 8402/1: perf: Don't use of_node after putting it
It's possible, albeit unlikely, that using the of_node here will
reference freed memory. Call of_node_put() after printing the
name to be safe.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions