diff options
| author | Yangtao Li <tiny.windzz@gmail.com> | 2018-11-21 07:49:12 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 10:13:06 +0100 |
| commit | f936083094d8c13444aa1d1af586f282ff542191 (patch) | |
| tree | cb937b61329b4bb61d0e57ad519041ba0eaae436 /scripts/decode_stacktrace.sh | |
| parent | 1e94c7b4db9abc95320f98bc23eea1878cd80e01 (diff) | |
soc/tegra: Don't leak device tree node reference
[ Upstream commit 9eb40fa2cd2d1f6829e7b49bb22692f754b9cfe0 ]
of_find_node_by_path() acquires a reference to the node returned by it
and that reference needs to be dropped by its caller. soc_is_tegra()
doesn't do that, so fix it.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
[treding: slightly rewrite to avoid inline comparison]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
