]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3d3e9fe03c5189e94d646e606f4c6d2e32f744e
treeb0b037b44ae6323c8f0cf6e28627803d05fcb784
parent730742fa9db1eff024abdcd0d899d4b14164a4d4
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