[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: Introduce Meteorlake
Patchwork
patchwork at emeril.freedesktop.org
Fri Jul 8 00:45:57 UTC 2022
== Series Details ==
Series: i915: Introduce Meteorlake
URL : https://patchwork.freedesktop.org/series/106075/
State : warning
== Summary ==
Error: dim checkpatch failed
37acdff7a17b drm/i915/mtl: Add MeteorLake platform info
14c954fe2072 drm/i915/mtl: Add MeteorLake PCI IDs
-:100: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#100: FILE: include/drm/i915_pciids.h:737:
+#define INTEL_MTL_M_IDS(info) \
+ INTEL_VGA_DEVICE(0x7D40, info), \
+ INTEL_VGA_DEVICE(0x7D60, info)
-:100: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#100: FILE: include/drm/i915_pciids.h:737:
+#define INTEL_MTL_M_IDS(info) \
+ INTEL_VGA_DEVICE(0x7D40, info), \
+ INTEL_VGA_DEVICE(0x7D60, info)
-:104: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#104: FILE: include/drm/i915_pciids.h:741:
+#define INTEL_MTL_P_IDS(info) \
+ INTEL_VGA_DEVICE(0x7D45, info), \
+ INTEL_VGA_DEVICE(0x7D55, info), \
+ INTEL_VGA_DEVICE(0x7DD5, info)
-:104: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#104: FILE: include/drm/i915_pciids.h:741:
+#define INTEL_MTL_P_IDS(info) \
+ INTEL_VGA_DEVICE(0x7D45, info), \
+ INTEL_VGA_DEVICE(0x7D55, info), \
+ INTEL_VGA_DEVICE(0x7DD5, info)
-:109: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#109: FILE: include/drm/i915_pciids.h:746:
+#define INTEL_MTL_IDS(info) \
+ INTEL_MTL_M_IDS(info), \
+ INTEL_MTL_P_IDS(info)
-:109: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#109: FILE: include/drm/i915_pciids.h:746:
+#define INTEL_MTL_IDS(info) \
+ INTEL_MTL_M_IDS(info), \
+ INTEL_MTL_P_IDS(info)
total: 3 errors, 0 warnings, 3 checks, 71 lines checked
More information about the Intel-gfx
mailing list