diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-16 20:36:25 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-04-19 18:17:47 +0300 |
commit | eadd2721d080e276f35abc1daab15cddd121e40f (patch) | |
tree | 14a4e1c9fefd84b79fa403c64e90f072f519718b /drivers/gpu/drm/i915/intel_runtime_pm.c | |
parent | e307126a2c8e792a4b426ee3ab827d1285544e12 (diff) | |
download | linux-eadd2721d080e276f35abc1daab15cddd121e40f.tar.bz2 |
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_runtime_pm.c')
0 files changed, 0 insertions, 0 deletions