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)
commit7ec55f46da2e581e0e85b17e5480dc4ae6254099
tree7b1e4eb596f3ae06707ebaf1f50b7ed69f258849
parent13732ba7493fd4b28568f768ee12497e26a0c8af
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