[PATCH] ath11k: fix DMA memory free in CE pipe cleanup

Kalle Valo kvalo at codeaurora.org
Mon Nov 15 01:18:12 PST 2021


Karthikeyan Periyasamy <quic_periyasa at quicinc.com> wrote:

> In CE pipe cleanup, DMA memory gets freed by the aligned address
> (base_addr_owner_space) which is wrong. It needs to be freed
> by the address (base_addr_owner_space_unaligned) returned by
> dma_alloc. So free the dma memory by the proper address.
> This was found in code review.
> 
> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-00729-QCAHKSWPL_SILICONZ-3 v2
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa at quicinc.com>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>

Patch applied to ath-next branch of ath.git, thanks.

31aeaf547d7e ath11k: fix DMA memory free in CE pipe cleanup

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1636561290-18966-1-git-send-email-quic_periyasa@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath11k mailing list