drm/i915: Fix user ptr check size in eb_relocate_vma()
authorImre Deak <imre.deak@intel.com>
Fri, 14 Jul 2017 15:12:42 +0000 (18:12 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 17 Jul 2017 11:24:16 +0000 (14:24 +0300)
commitedd9003f7f9dddd28fdd768e6e7569d996c769cb
tree10f2a543911b5e8e08bab48ff39eff6c0c2c1ab7
parent635f56c342cd195a8059f24296fe7fd795aaa33d
drm/i915: Fix user ptr check size in eb_relocate_vma()

Fix the sizeof(ptr) vs. sizeof(*ptr) typo.

Fixes: 2889caa92321 ("drm/i915: Eliminate lots of iterations over the execobjects array")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170714151242.517-2-imre.deak@intel.com
drivers/gpu/drm/i915/i915_gem_execbuffer.c