summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorMiaoqing Pan <quic_miaoqing@quicinc.com>2025-01-23 11:49:48 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-01-26 21:41:27 +0300
commitefb24b1f0d29537714dd3cc46fb335ac27855251 (patch)
tree2aece0ad86838bbdee658011d181b0299ca2e72f /scripts/stackusage
parent79e7b04b5388c13290ae6d64f930b096c2f465c9 (diff)
downloadlinux-efb24b1f0d29537714dd3cc46fb335ac27855251.tar.xz
wifi: ath11k: fix memory leak in ath11k_xxx_remove()
The firmware memory was allocated in ath11k_pci_probe() or ath11k_ahb_probe(), but not freed in ath11k_xxx_remove() in case ATH11K_FLAG_QMI_FAIL bit is set. So call ath11k_fw_destroy() to free the memory. Found while fixing the same problem in ath12k: https://lore.kernel.org/linux-wireless/20240314012746.2729101-1-quic_miaoqing@quicinc.com Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04546-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1 Signed-off-by: Miaoqing Pan <quic_miaoqing@quicinc.com> Reviewed-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com> Link: https://patch.msgid.link/20250123084948.1124357-1-quic_miaoqing@quicinc.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions