[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/whl: Introducing Whiskey Lake platform
Patchwork
patchwork at emeril.freedesktop.org
Thu Jun 14 22:56:41 UTC 2018
== Series Details ==
Series: series starting with [1/2] drm/i915/whl: Introducing Whiskey Lake platform
URL : https://patchwork.freedesktop.org/series/44782/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
eca7a90b2b57 drm/i915/whl: Introducing Whiskey Lake platform
-:65: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#65: FILE: include/drm/i915_pciids.h:403:
+#define INTEL_WHL_U_GT1_IDS(info) \
+ INTEL_VGA_DEVICE(0x3EA1, info), \
+ INTEL_VGA_DEVICE(0x3EA4, info)
-:65: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#65: FILE: include/drm/i915_pciids.h:403:
+#define INTEL_WHL_U_GT1_IDS(info) \
+ INTEL_VGA_DEVICE(0x3EA1, info), \
+ INTEL_VGA_DEVICE(0x3EA4, info)
-:70: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#70: FILE: include/drm/i915_pciids.h:408:
+#define INTEL_WHL_U_GT2_IDS(info) \
+ INTEL_VGA_DEVICE(0x3EA0, info), \
+ INTEL_VGA_DEVICE(0x3EA3, info)
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#70: FILE: include/drm/i915_pciids.h:408:
+#define INTEL_WHL_U_GT2_IDS(info) \
+ INTEL_VGA_DEVICE(0x3EA0, info), \
+ INTEL_VGA_DEVICE(0x3EA3, info)
total: 2 errors, 0 warnings, 2 checks, 62 lines checked
0a4e7fa1669f 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