]> 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)
commit252f6f240379c18cf18385a7d466a7a93010c2c4
tree9bc4f2ee108b28a7ecd48c463aeb992ab6bfcfdc
parent0ce294acc4725902de157d070afbaed40cbe9d77
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