[PATCH v2] drm: Make drm_clflush_virt_range() void*

Daniel Vetter daniel at ffwll.ch
Tue Apr 1 03:57:14 PDT 2014


On Tue, Apr 01, 2014 at 11:08:59AM +0100, Chris Wilson wrote:
> 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>

Queued for -next with Dave's irc ack, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list