drm: Make drm_clflush_virt_range() void*
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Apr 2014 09:59:08 +0000 (12:59 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:58:29 +0000 (22:58 +0200)
commitc2d15359c4b5476c181d8a51bdeba4cead15c120
tree5eda8446a7f5c7932cdca95848b204e141edfa1d
parent16c6c56bab1d9942c8089b7ea8a7382799fba5d8
drm: Make drm_clflush_virt_range() void*

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@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_cache.c
include/drm/drmP.h