diff options
author | Deming Wang <[email protected]> | 2022-10-06 22:26:51 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-10-24 14:34:47 -0400 |
commit | 3a3e841d050d9d919317ad2b65d80fc9c8c799dc (patch) | |
tree | db38261fde5930cc4b32d32b4aa39427f5685908 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 178919f8ff2d4cd1ad32680eb767e6761e9d00ea (diff) |
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: Deming Wang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions