drm/i915: Drop the misleading cast to the wrong user pointer type
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Sep 2012 10:46:00 +0000 (11:46 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:23:05 +0000 (14:23 +0200)
commitba7a64587bcff8d85666a70b0a515d5fbcaa000c
tree0250d7057cc4b5f4416177e36875f8019b6804b8
parentd627b62ff8d4d36761adbcd90ff143d79c94ab22
drm/i915: Drop the misleading cast to the wrong user pointer type

The exec_list is of type drm_i915_gem_exec_object2 and so casting it to
a drm_i915_gem_relocation_entry is very confusing!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c