[PATCH v2] drm: Make drm_clflush_virt_range() void*
Chris Wilson
chris at chris-wilson.co.uk
Tue Apr 1 03:08:59 PDT 2014
On Tue, Apr 01, 2014 at 12:59:08PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Currently drm_cflush_virt_rage() takes a char* so the caller probably
> has to do pointless casting to avoid compiler warnings. Make the
> argument void* instead to avoid such issues.
>
> v2: Use void* arithmetic (Chris)
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the dri-devel
mailing list