summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-02-15 08:20:00 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 22:20:19 +0300
commit93bab704c1513f824d0e19fd02f8b57b107feceb (patch)
treebc64dfff3d0c51fbdf0319d17e4d56d9a60ada36 /tools/perf/scripts/python/export-to-postgresql.py
parentb3cd285fa68d162a53c2eb4e23bc4fc1ab7d97f6 (diff)
downloadlinux-93bab704c1513f824d0e19fd02f8b57b107feceb.tar.xz
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: 0abc6878fc2d ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions