]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath12k: fix dma_free_coherent() pointer
authorThomas Fourier <fourier.thomas@gmail.com>
Tue, 6 Jan 2026 08:49:04 +0000 (09:49 +0100)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 9 Jan 2026 15:43:48 +0000 (07:43 -0800)
commitbb97131fbf9b708dd9616ac2bdc793ad102b5c48
treee7fae10a1f0c0e2151e6931e984b13ef11245f40
parent9282a1e171ad8d2205067e8ec3bbe4e3cef4f29f
wifi: ath12k: fix dma_free_coherent() pointer

dma_alloc_coherent() allocates a DMA mapped buffer and stores the
addresses in XXX_unaligned fields.  Those should be reused when freeing
the buffer rather than the aligned addresses.

Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20260106084905.18622-2-fourier.thomas@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/ce.c