]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Use range_overflows()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 15:20:12 +0000 (15:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 16:02:11 +0000 (16:02 +0000)
commite8f9ae9b5062b43b6cb3dd6e45107c8edf25f1d0
tree0d3f27edb80442d34c5f0124394a47302530511b
parentedd1f2fe11ff77ab2a3169b9359e2ba69541a2f2
drm/i915: Use range_overflows()

Replace a few more open-coded overflow checks with the macro.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170106152013.24684-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_stolen.c
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/i915/intel_bios.c