diff options
| author | Miaoqian Lin <[email protected]> | 2022-01-07 07:31:26 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2022-01-31 16:09:50 -0600 |
| commit | 0ff027027e05a866491bbb53494f0e2a61354c85 (patch) | |
| tree | c4e4394bb70cf2105bb67f65c9d7ebe2f75f84ac /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5a811126d38f9767a20cc271b34db7c8efc5a46c (diff) | |
soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore.
Add the corresponding 'put_device()' in the error handling path.
Fixes: 01f937ffc468 ("soc: qcom: ocmem: don't return NULL in of_get_ocmem")
Signed-off-by: Miaoqian Lin <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions