commit | fc2c456ea8329053685db179d30e3ff0c91e5066 | [log] [tgz] |
---|---|---|
author | Philip Yang <Philip.Yang@amd.com> | Fri Nov 26 12:42:50 2021 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Dec 01 17:07:33 2021 -0500 |
tree | 73d5d46674c36b0f20b732b024ad2b1d8126cb6f | |
parent | c9beecc5c9626ab772160ab3f8e209abc09fa54d [diff] |
drm/amdkfd: set "r = 0" explicitly before goto To silence the following Smatch static checker warning: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:2615 svm_range_restore_pages() warn: missing error code here? 'get_task_mm()' failed. 'r' = '0' Signed-off-by: Philip Yang <Philip.Yang@amd.com> Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>