]> 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)
commit07f6af9a1e961f72db061d79d135b168ff6bfab3
treebb6c5865b0bfa87e0637bcf57e8226b3701d3193
parent4ec6c61dce1671cf651d310a62ab90210797da79
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