From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH v2] drm/i915: Don't cast away const from infoframe buffer Date: Tue, 10 Dec 2013 14:49:13 +0100 Message-ID: <20131210134913.GJ9804@phenom.ffwll.local> References: <20131210122526.GC27411@strange.amr.corp.intel.com> <1386681548-24333-1-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by gabe.freedesktop.org (Postfix) with ESMTP id B0B48FB371 for ; Tue, 10 Dec 2013 05:48:23 -0800 (PST) Received: by mail-ee0-f54.google.com with SMTP id e51so2167654eek.41 for ; Tue, 10 Dec 2013 05:48:22 -0800 (PST) Content-Disposition: inline In-Reply-To: <1386681548-24333-1-git-send-email-ville.syrjala@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: ville.syrjala@linux.intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Dec 10, 2013 at 03:19:08PM +0200, ville.syrjala@linux.intel.com wro= te: > From: Ville Syrj=E4l=E4 > = > 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-off-by: Ville Syrj=E4l=E4 Queued for -next, thanks for the patch. -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch