1
0
Fork 0
alistair23-linux/drivers/gpu/drm/i915/gem/selftests
Dan Carpenter 362fbe8e9d drm/i915/selftests: Fix return in assert_mmap_offset()
commit f4aaa44e8b upstream.

The assert_mmap_offset() returns type bool so if we return an error
pointer that is "return true;" or success.  If we have an error, then
we should return false.

Fixes: 3d81d589d6 ("drm/i915: Test exhaustion of the mmap space")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200228141413.qfjf4abr323drlo4@kili.mountain
(cherry picked from commit efbf928824)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 13:00:27 +01:00
..
huge_gem_object.c drm/i915: Pull scatterlist utils out of i915_gem.h 2019-05-28 12:45:29 +01:00
huge_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
huge_pages.c drm/i915/selftests: move gpu-write-dw into utils 2019-08-10 13:12:34 +01:00
i915_gem_client_blt.c drm/i915/blt: bump the size restriction 2019-08-10 11:19:00 +01:00
i915_gem_coherency.c drm/i915: Serialize against vma moves 2019-08-19 15:25:56 +01:00
i915_gem_context.c drm/i915: Serialize against vma moves 2019-08-19 15:25:56 +01:00
i915_gem_dmabuf.c drm/i915: Fix up broken merge 2019-07-22 23:43:15 +02:00
i915_gem_mman.c drm/i915/selftests: Fix return in assert_mmap_offset() 2020-03-12 13:00:27 +01:00
i915_gem_object.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
i915_gem_object_blt.c drm/i915/blt: support copying objects 2019-08-10 19:35:36 +01:00
i915_gem_phys.c drm/i915: Move GEM object domain management from struct_mutex to local 2019-05-28 12:45:29 +01:00
igt_gem_utils.c drm/i915: Serialize against vma moves 2019-08-19 15:25:56 +01:00
igt_gem_utils.h drm/i915/selftests: move gpu-write-dw into utils 2019-08-10 13:12:34 +01:00
mock_context.c drm/i915: Rename i915_hw_ppgtt to i915_ppgtt 2019-06-11 11:44:32 +01:00
mock_context.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00