Re: [Intel-gfx] [PATCH] drm/i915/audio: constify ELD pointers

2018-06-19 Thread Ville Syrjälä
On Tue, Jun 19, 2018 at 03:44:37PM +0300, Jani Nikula wrote: > The hooks aren't supposed to modify the ELD, so use const pointer. As a > drive-by fix, use drm_eld_size() to log ELD size. > > Suggested-by: Ville Syrjala > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/intel_audio.c | 16

[Intel-gfx] [PATCH] drm/i915/audio: constify ELD pointers

2018-06-19 Thread Jani Nikula
The hooks aren't supposed to modify the ELD, so use const pointer. As a drive-by fix, use drm_eld_size() to log ELD size. Suggested-by: Ville Syrjala Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_audio.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --