diff options
author | Abel Vesa <[email protected]> | 2022-11-25 07:14:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-25 18:45:33 +0100 |
commit | 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2 (patch) | |
tree | c6738c244b250f69913a7bb3936fffd074289dbe /lib/mpi/mpi-sub-ui.c | |
parent | 334f1a1cbe032d85fd58e771629e3a3b373b96d5 (diff) |
misc: fastrpc: Rework fastrpc_req_munmap
Move the lookup of the munmap request to the fastrpc_req_munmap and pass
on only the buf to the lower level fastrpc_req_munmap_impl. That way
we can use the lower level fastrpc_req_munmap_impl on error path in
fastrpc_req_mmap to free the buf without searching for the munmap
request it belongs to.
Co-developed-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Abel Vesa <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions