diff options
author | Liam Howlett <liam.howlett@oracle.com> | 2021-06-28 19:38:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-06-29 10:53:51 -0700 |
commit | 064b2663603c76e9ab6fe1bb2e92d1a7299fff9e (patch) | |
tree | 58e01dc3c19a8d061331b6d99fefbcef6bb761d6 /arch/arc | |
parent | ce6d42f2e4a2d98898419743b037a95661e3ac9d (diff) | |
download | linux-064b2663603c76e9ab6fe1bb2e92d1a7299fff9e.tar.bz2 |
drm/i915/selftests: use vma_lookup() in __igt_mmap()
vma_lookup() will look up the vma at a specific address. find_vma() will
start the search for a specific address and continue upwards. This fixes
an issue with the selftest as the returned vma may not be the newly
created vma, but simply the vma at a higher address.
objects
Link: https://lkml.kernel.org/r/20210521174745.2219620-3-Liam.Howlett@Oracle.com
Fixes: 6fedafacae1b (drm/i915/selftests: Wrap vm_mmap() around GEM
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions