]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Protect overlay colorkey macro arguments
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Oct 2019 11:30:36 +0000 (13:30 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 May 2020 17:12:56 +0000 (20:12 +0300)
commit963f328b9cea33886cc4cd7a833bcd0f66074d31
treebb6c5865b0bfa87e0637bcf57e8226b3701d3193
parent7cd0f22019feef75197d4b9c4d8eea1914bc0d13
drm/i915: Protect overlay colorkey macro arguments

Put the customary () around the macro argument in the overlay
colorkey macros. And while at switch to using a consistent
case for the hex constants.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191028113036.27553-6-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/display/intel_overlay.c