]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath10k: fix dma_free_coherent() pointer
authorThomas Fourier <fourier.thomas@gmail.com>
Mon, 5 Jan 2026 21:04:38 +0000 (22:04 +0100)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 9 Jan 2026 15:43:47 +0000 (07:43 -0800)
commit9282a1e171ad8d2205067e8ec3bbe4e3cef4f29f
tree000c681770f6eb656cd5401699583f6cb1c45d6e
parenta203dbeeca15a9b924f0d51f510921f4bae96801
wifi: ath10k: 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: 2a1e1ad3fd37 ("ath10k: Add support for 64 bit ce descriptor")
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/20260105210439.20131-2-fourier.thomas@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c