]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/i915_reg.h: fix the checkpatch MACRO_ARG_PRECEDENCE issues
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 12 Jun 2018 23:56:54 +0000 (16:56 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 18 Jun 2018 22:36:25 +0000 (15:36 -0700)
commit12a19bf3551e54aa8e23051bf22208ec4b969f40
treecc4fdbb0d0d0b78570731daad58040da9487ab52
parentd80148087315173c1079c71db54c238da3bbd01a
drm/i915/i915_reg.h: fix the checkpatch MACRO_ARG_PRECEDENCE issues

While I don't see any issue with the way these macros are being called
today, let's protect them against operator precedence issues before
they happen.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180612235654.7914-4-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h