Re: [Intel-gfx] [PATCH] drm/i915: Don't cast away const from infoframe buffer

2013-12-10 Thread Damien Lespiau
On Tue, Dec 10, 2013 at 02:06:30PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > We don't modify the packed infoframe data, so we should keep the > const qualifier in place. Just pass the buffer as 'const void *' > instead of 'const uint8_t *' and we can drop the cast enti

[Intel-gfx] [PATCH] drm/i915: Don't cast away const from infoframe buffer

2013-12-10 Thread ville . syrjala
From: Ville Syrjälä We don't modify the packed infoframe data, so we should keep the const qualifier in place. Just pass the buffer as 'const void *' instead of 'const uint8_t *' and we can drop the cast entirely. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_drv.h | 2 +- driv