From: Daniel Vetter Subject: Re: [PATCH v2] drm: Make drm_clflush_virt_range() void* Date: Tue, 1 Apr 2014 12:57:14 +0200 Message-ID: <20140401105714.GJ22327@phenom.ffwll.local> References: <20140331154047.GB7314@nuc-i3427.alporthouse.com> <1396346348-10176-1-git-send-email-ville.syrjala@linux.intel.com> <20140401100859.GI7314@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by gabe.freedesktop.org (Postfix) with ESMTP id E5D0A6E615 for ; Tue, 1 Apr 2014 03:57:19 -0700 (PDT) Received: by mail-we0-f180.google.com with SMTP id p61so5988055wes.39 for ; Tue, 01 Apr 2014 03:57:17 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140401100859.GI7314@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Chris Wilson , ville.syrjala@linux.intel.com, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Tue, Apr 01, 2014 at 11:08:59AM +0100, Chris Wilson wrote: > On Tue, Apr 01, 2014 at 12:59:08PM +0300, ville.syrjala@linux.intel.com w= rote: > > From: Ville Syrj=E4l=E4 > > = > > 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. > > = > > v2: Use void* arithmetic (Chris) > > = > > Signed-off-by: Ville Syrj=E4l=E4 > Reviewed-by: Chris Wilson Queued for -next with Dave's irc ack, thanks for the patch. -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch