aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-03-02 22:16:58 +0000
committerAlex Deucher <[email protected]>2019-03-19 20:04:04 +0000
commitd38ca8f0f1a44c0ffe1cc746edf16b245e188ea5 (patch)
tree01fa01700f6bb83ce77f77dbff8f77c302532c2c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu: also reroute VMC and UMD to IH ring 1 on Vega 20 (diff)
downloadkernel-d38ca8f0f1a44c0ffe1cc746edf16b245e188ea5.tar.gz
kernel-d38ca8f0f1a44c0ffe1cc746edf16b245e188ea5.zip
drm/amdgpu: fix missing assignment of error return code to variable ret
An earlier commit replaced ttm_bo_wait with amdgpu_bo_sync_wait and removed the error return assignment to variable ret. Fix this by adding the assignment back. Also break line to clean up checkpatch overly long line warning. Detected by CoverityScan, CID#1477327 ("Logically dead code") Fixes: c60cd590cb7d ("drm/amdgpu: Replace ttm_bo_wait with amdgpu_bo_sync_wait") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions