aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-05-05 10:28:05 +0000
committerDmitry Baryshkov <[email protected]>2022-05-06 23:10:35 +0000
commitcf575e31611eb6dccf08fad02e57e35b2187704d (patch)
treec887e887b5b465e2982c3146953463378a11be20 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected (diff)
downloadkernel-cf575e31611eb6dccf08fad02e57e35b2187704d.tar.gz
kernel-cf575e31611eb6dccf08fad02e57e35b2187704d.zip
drm/msm: return an error pointer in msm_gem_prime_get_sg_table()
The msm_gem_prime_get_sg_table() needs to return error pointers on error. This is called from drm_gem_map_dma_buf() and returning a NULL will lead to a crash in that function. Fixes: ac45146733b0 ("drm/msm: fix msm_gem_prime_get_sg_table()") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/485023/ Link: https://lore.kernel.org/r/YnOmtS5tfENywR9m@kili Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions