[Intel-gfx] [PATCH 3/4] drm/i915: Add space between variable declarations and code

Chris Wilson chris at chris-wilson.co.uk
Sat Oct 25 11:03:38 CEST 2014


On Sat, Oct 25, 2014 at 12:11:13AM +0100, Damien Lespiau wrote:
> OCD kicks in again...
> 
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
>  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



More information about the Intel-gfx mailing list