commit | eadd2721d080e276f35abc1daab15cddd121e40f | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Mar 16 20:36:25 2018 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Apr 19 18:17:47 2018 +0300 |
tree | 14a4e1c9fefd84b79fa403c64e90f072f519718b | |
parent | e307126a2c8e792a4b426ee3ab827d1285544e12 [diff] |
drm/i915: Protect PIPE_CONF_CHECK macros with do {} while(0) Make the PIPE_CONF_CHECK macros a bit more robust by wrapping them in do {} while(0). Avoids funky sirprises when you try put an 'else' after a PIPE_CONF_CHECK invocation... Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180316183625.16316-1-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> #irc