]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Protect the argument expansion in LRI and SRM macros
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 7 Apr 2014 19:24:32 +0000 (20:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Apr 2014 12:57:20 +0000 (14:57 +0200)
commit11e6d4ae900e4cbd42e1ea2f1ef53a012e25d613
tree7b1e4eb596f3ae06707ebaf1f50b7ed69f258849
parent26bedc5a22d5075c16c6fcf60e6dc1f75d68817f
drm/i915: Protect the argument expansion in LRI and SRM macros

It seems like it wouldn't be too unlikely to be wanting to use a an
expression in the macro argument and things could go very wrong.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h