Re: [PATCH] wifi: ath11k: fix refcount leak in ath11k_ahb_fw_resources_init()

Baochen Qiang <[email protected]> Thu, 2 Jul 2026 17:07:49 +0800
Newsgroups org.infradead.lists.ath11k,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless,org.kernel.vger.stable
Message-ID <[email protected]>

On 6/9/2026 5:25 PM, Wentao Liang wrote:
> 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: [email protected]
> Fixes: 095cb947490c ("wifi: ath11k: allow missing memory-regions")
> Signed-off-by: Wentao Liang <[email protected]>

Reviewed-by: Baochen Qiang <[email protected]>