[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: Identify Cometlake platform (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Jun 2 16:27:02 UTC 2020
== Series Details ==
Series: series starting with [1/2] drm/i915: Identify Cometlake platform (rev2)
URL : https://patchwork.freedesktop.org/series/77922/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
a71c14019fde drm/i915: Identify Cometlake platform
-:367: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#367: FILE: drivers/gpu/drm/i915/i915_drv.h:1471:
+#define IS_CML_GT2(dev_priv) (IS_COMETLAKE(dev_priv) && \
+ INTEL_INFO(dev_priv)->gt == 2)
-:381: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#381: FILE: drivers/gpu/drm/i915/i915_pci.c:769:
+#define CML_PLATFORM \
+ GEN9_FEATURES, \
+ PLATFORM(INTEL_COMETLAKE)
total: 1 errors, 0 warnings, 1 checks, 448 lines checked
444c42325fd7 drm/i915/gt: Make the CTX_TIMESTAMP readable on !rcs
More information about the Intel-gfx
mailing list