diff options
author | Stephen Boyd <[email protected]> | 2015-06-03 21:53:37 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2015-06-30 18:13:03 +0100 |
commit | 18a11b5e79697ddc61e30181737c91ce21eaa859 (patch) | |
tree | 61d10528dd4ae8e0a9222b8fd60b8f0be193a758 /lib/cpu-notifier-error-inject.c | |
parent | 1e43ba9cd867f05f3e85579c370b939e1ce585e9 (diff) |
arm64: 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 <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions