diff options
author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-09-25 11:02:10 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-29 18:08:20 -0700 |
commit | b9bd25f47eb79c9eb275e3d9ac3983dc88577dd4 (patch) | |
tree | de33295d8269b79ae5ba9fbba90a92b23b7deb11 /rust/helpers/task.c | |
parent | 012ea489aedab1a4c08efbd936bb7be91a06d236 (diff) |
idpf: fix mismatched free function for dma_alloc_coherent
The mailbox receive path allocates coherent DMA memory with
dma_alloc_coherent(), but frees it with dmam_free_coherent().
This is incorrect since dmam_free_coherent() is only valid for
buffers allocated with dmam_alloc_coherent().
Fix the mismatch by using dma_free_coherent() instead of
dmam_free_coherent
Fixes: e54232da1238 ("idpf: refactor idpf_recv_mb_msg")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Madhu Chittim <madhu.chittim@intel.com>
Link: https://patch.msgid.link/20250925180212.415093-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions