Commit 111aea04 authored by Akhilesh Patil's avatar Akhilesh Patil Committed by Leon Romanovsky
Browse files

RDMA/core: Free pfn_list with appropriate kvfree call



Ensure that pfn_list allocated by kvcalloc() is freed using corresponding
kvfree() function. Match memory allocation and free routines kvcalloc -> kvfree.

Fixes: 259e9bd0 ("RDMA/core: Avoid hmm_dma_map_alloc() for virtual DMA devices")
Signed-off-by: default avatarAkhilesh Patil <akhilesh@ee.iitb.ac.in>
Link: https://patch.msgid.link/aJjcPjL1BVh8QrMN@bhairav-test.ee.iitb.ac.in


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 2186e8c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment