From: Chris Wilson Subject: Re: [PATCH 3/4] drm/i915: Add space between variable declarations and code Date: Sat, 25 Oct 2014 10:03:38 +0100 Message-ID: <20141025090338.GF24617@nuc-i3427.alporthouse.com> References: <1414192274-15933-1-git-send-email-damien.lespiau@intel.com> <1414192274-15933-3-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FD586E616 for ; Sat, 25 Oct 2014 02:03:42 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1414192274-15933-3-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sat, Oct 25, 2014 at 12:11:13AM +0100, Damien Lespiau wrote: > OCD kicks in again... > > Signed-off-by: Damien Lespiau > --- > drivers/gpu/drm/i915/intel_display.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index 07440ad..dd071c6 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -9561,6 +9561,7 @@ static void ilk_do_mmio_flip(struct intel_crtc *intel_crtc) > struct drm_i915_gem_object *obj = intel_fb->obj; > u32 dspcntr; > u32 reg; > + > reg = DSPCNTR(intel_crtc->plane); ocd would have moved it into the variable block and made it const. ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre