drm/i915: Contain the WA_REG macro
authorMika Kuoppala <mika.kuoppala@intel.com>
Tue, 11 Aug 2015 14:44:31 +0000 (15:44 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 15:50:42 +0000 (17:50 +0200)
commitca5a0fbd53be86d2bf44769741e02e66feeacc0a
treeb0b037b44ae6323c8f0cf6e28627803d05fcb784
parent37876df61f279099334e0108bac9d28ee9789052
drm/i915: Contain the WA_REG macro

Prevent leaking the if scoping by containing the WA_REG
macro inside its own scope.

Reported-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
[danvet: Appease checkpatch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c