[PATCH] drm: Make drm_clflush_virt_range() void*
Ville Syrjälä
ville.syrjala at linux.intel.com
Mon Mar 31 09:28:26 PDT 2014
On Mon, Mar 31, 2014 at 04:40:47PM +0100, Chris Wilson wrote:
> On Mon, Mar 31, 2014 at 06:08:51PM +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.
> >
> > Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Can we not use a gcc'ism to allow pointer arithmetic on void *?
Personally I'd be fine with that. So if no one disagrees I can send a
v2.
--
Ville Syrjälä
Intel OTC
More information about the dri-devel
mailing list