[Intel-gfx] [PATCH] drm/i915: Fix a bogus cast in execbuffer2

2013-02-22 Thread ville . syrjala
From: Ville Syrjälä The pointer passed to copy_from_user() was cast to the wrong type. This doesn't cause any issues, but it confuses the reader. Just cast to void * like we do for the other execbuffer kernel<->user copies. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/i915_gem_execbuf

Re: [Intel-gfx] [PATCH] drm/i915: Fix a bogus cast in execbuffer2

2013-02-22 Thread Chris Wilson
On Fri, Feb 22, 2013 at 03:42:22PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > The pointer passed to copy_from_user() was cast to the wrong type. This > doesn't cause any issues, but it confuses the reader. Just cast to > void * like we do for the other execbuffer kernel