diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2022-01-10 17:24:13 +0300 |
|---|---|---|
| committer | Kalle Valo <quic_kvalo@quicinc.com> | 2022-01-11 17:27:37 +0300 |
| commit | 3d38faef0de1756994b3d95e47b2302842f729e2 (patch) | |
| tree | 2b997bcbac24e9f256d29c566b83f22a378a9b57 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 8aaaf2f3af2ae212428f4db1af34214225f5cec3 (diff) | |
| download | linux-3d38faef0de1756994b3d95e47b2302842f729e2.tar.xz | |
ath11k: add missing of_node_put() to avoid leak
The node pointer is returned by of_find_node_by_type()
or of_parse_phandle() with refcount incremented. Calling
of_node_put() to aovid the refcount leak.
Fixes: 6ac04bdc5edb ("ath11k: Use reserved host DDR addresses from DT for PCI devices")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211221114003.335557-1-yangyingliang@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
