Files
linux/drivers/gpu/drm/amd/amdgpu
Gustavo A. R. Silva 93bab704c1 drm/amdgpu_gem: fix error handling path in amdgpu_gem_va_update_vm
Currently, if amdgpu_vm_bo_update() fails, the returned error
is being ignored.

Fix this by properly checking _r_ after calling amdgpu_vm_bo_update.
Also, remove redundant code just before label _error_.

Addresses-Coverity-ID: 1464280 ("Unused value")
Fixes: 0abc6878fc ("drm/amdgpu: update VM PDs after the PTs")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-02-19 14:20:19 -05:00
..
2018-02-19 14:17:41 -05:00
2017-12-27 11:34:02 -05:00
2017-10-20 13:28:44 -04:00
2018-02-19 14:17:41 -05:00
2018-02-19 14:18:10 -05:00
2018-02-19 14:17:41 -05:00
2017-09-26 17:01:32 -04:00
2016-08-31 15:21:09 -04:00
2017-12-27 11:34:02 -05:00
2018-02-19 14:17:41 -05:00
2018-02-19 14:17:41 -05:00
2018-02-19 14:18:11 -05:00