drm/i915/bxt: Fix wrongly placed ')' in I915_READ()
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 17 Sep 2015 13:20:32 +0000 (14:20 +0100)
committerJani Nikula <jani.nikula@intel.com>
Fri, 18 Sep 2015 11:20:47 +0000 (14:20 +0300)
commitb5dada82ad624b69a2229c819d6a30b664a5606f
tree0ac05cdf358c5e288a6010e2adf299b4fc853873
parent9aa6114253a9d01513796f6b44eda9838dc7bf3b
drm/i915/bxt: Fix wrongly placed ')' in I915_READ()

Not the first time! not the last time?

There is a possibility to use gcc 5's -Wbool-compare to try and compare
(reg) in those macros to a constant and gcc will warn that the
comparison between a boolean expression and a constant is always either
true or false. Maybe.

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_ddi.c