]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Promote 'remain' to unsigned long
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Apr 2020 08:59:30 +0000 (09:59 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Apr 2020 13:43:58 +0000 (14:43 +0100)
commit729b942be517ebe2c049cdd3383ec9398484fb77
tree9bc4f2ee108b28a7ecd48c463aeb992ab6bfcfdc
parent7294ae7bc8e39edfa4b445643efe19274e3e0519
drm/i915/gem: Promote 'remain' to unsigned long

Tidy the code by casting remain to unsigned long once for the duration
of eb_relocate_vma()

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200407085930.19421-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c