[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/tgl: Fix missing parentheses on TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT

Patchwork patchwork at emeril.freedesktop.org
Mon Aug 12 18:35:40 UTC 2019


== Series Details ==

Series: drm/i915/tgl: Fix missing parentheses on TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT
URL   : https://patchwork.freedesktop.org/series/65097/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
efdcc43de9ae drm/i915/tgl: Fix missing parentheses on TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT
-:30: WARNING:LONG_LINE: line over 100 characters
#30: FILE: drivers/gpu/drm/i915/i915_reg.h:9436:
+#define  TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT(val) ((((val) & TGL_TRANS_DDI_PORT_MASK) >> TGL_TRANS_DDI_PORT_SHIFT) - 1)

total: 0 errors, 1 warnings, 0 checks, 8 lines checked



More information about the Intel-gfx mailing list