[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v2,1/2] drm/i915/whl: Introducing Whiskey Lake platform

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 14 23:55:58 UTC 2018


== Series Details ==

Series: series starting with [v2,1/2] drm/i915/whl: Introducing Whiskey Lake platform
URL   : https://patchwork.freedesktop.org/series/44787/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
7cf5c8bc3840 drm/i915/whl: Introducing Whiskey Lake platform
-:76: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#76: FILE: include/drm/i915_pciids.h:411:
+#define INTEL_WHL_U_GT3_IDS(info) \
+	INTEL_VGA_DEVICE(0x3EA2, info), \
+	INTEL_VGA_DEVICE(0x3EA3, info), \
+	INTEL_VGA_DEVICE(0x3EA4, info)

-:76: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#76: FILE: include/drm/i915_pciids.h:411:
+#define INTEL_WHL_U_GT3_IDS(info) \
+	INTEL_VGA_DEVICE(0x3EA2, info), \
+	INTEL_VGA_DEVICE(0x3EA3, info), \
+	INTEL_VGA_DEVICE(0x3EA4, info)

total: 1 errors, 0 warnings, 1 checks, 62 lines checked
06a369a6e01a drm/i915/aml: Introducing Amber Lake platform
-:49: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#49: FILE: include/drm/i915_pciids.h:368:
+#define INTEL_AML_GT2_IDS(info) \
+	INTEL_VGA_DEVICE(0x591C, info),  /* ULX GT2 */ \
+	INTEL_VGA_DEVICE(0x87C0, info) /* ULX GT2 */

-:49: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#49: FILE: include/drm/i915_pciids.h:368:
+#define INTEL_AML_GT2_IDS(info) \
+	INTEL_VGA_DEVICE(0x591C, info),  /* ULX GT2 */ \
+	INTEL_VGA_DEVICE(0x87C0, info) /* ULX GT2 */

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



More information about the Intel-gfx mailing list