Skip to content
Commit 3a3e841d authored by Deming Wang's avatar Deming Wang Committed by Alex Deucher
Browse files

drm/amdkfd: use vma_lookup() instead of find_vma()



Using vma_lookup() verifies the start address is contained in the found
vma.  This results in easier to read the code.

Signed-off-by: default avatarDeming Wang <wangdeming@inspur.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 178919f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment