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

2014-04-01 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? 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? --- drivers/gpu/drm/drm_cache.c

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

2014-04-01 Thread Daniel Vetter
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? > > > > Currently drm_cflush_virt_rage() takes a char* so the caller probably > > has to do pointless casting to avoid compi

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

2014-04-01 Thread Chris Wilson
On Tue, Apr 01, 2014 at 12:59:08PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrj?l? > > 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. > >