OSDN Git Service

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)
commite94f785642dc74faca998c8555cc783c868c3d32
tree9bc4f2ee108b28a7ecd48c463aeb992ab6bfcfdc
parente68296259cf34f5ef86f8db16e036ec6c7b41315
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