diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-11-26 12:42:50 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-01 17:07:33 -0500 |
commit | fc2c456ea8329053685db179d30e3ff0c91e5066 (patch) | |
tree | 73d5d46674c36b0f20b732b024ad2b1d8126cb6f /net/compat.c | |
parent | c9beecc5c9626ab772160ab3f8e209abc09fa54d (diff) | |
download | linux-fc2c456ea8329053685db179d30e3ff0c91e5066.tar.gz linux-fc2c456ea8329053685db179d30e3ff0c91e5066.tar.bz2 linux-fc2c456ea8329053685db179d30e3ff0c91e5066.zip |
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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions