summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorLang Yu <lang.yu@amd.com>2024-10-18 17:21:09 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-10-24 18:06:24 -0400
commit46186667f98fb7158c98f4ff5da62c427761ffcd (patch)
tree3142aac15f84fbb3cbfe081e0492a8d5fd6e3ec2 /lib/mpi/mpiutil.c
parentd37bc6a4ed252083c8f883597389e7f33ad8b670 (diff)
drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr
Free sg table when dma_map_sgtable() failed to avoid memory leak. Signed-off-by: Lang Yu <lang.yu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions