diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-06-09 09:25:28 +0000 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2026-07-09 07:44:42 -0700 |
| commit | 0e120ee0822b7cc650bd7b29682a34e137cec10d (patch) | |
| tree | a95f45273abcbd68da68d46fb3772259c30e281a /tools/perf/scripts/python/stackcollapse.py | |
| parent | e8d85672dd7e2523f774caafba8f858384e18df7 (diff) | |
wifi: ath11k: fix refcount leak in ath11k_ahb_fw_resources_init()
of_get_child_by_name() returns a node pointer with refcount
incremented, but the error path when ath11k_ahb_setup_msa_resources()
fails does not release it. Add the missing of_node_put() to avoid
leaking the reference.
Cc: stable@vger.kernel.org
Fixes: 095cb947490c ("wifi: ath11k: allow missing memory-regions")
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Link: https://patch.msgid.link/20260609092528.220547-1-vulab@iscas.ac.cn
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
