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

2013-12-10 Thread Daniel Vetter
On Tue, Dec 10, 2013 at 03:19:08PM +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 v2] 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. v2: Do intel_sdvo_write_infoframe() as well Reviewed-by: Damien Lespiau Signed-o