[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/cml: Remove unsupport PCI ID

Patchwork patchwork at emeril.freedesktop.org
Tue Dec 10 08:26:02 UTC 2019


== Series Details ==

Series: drm/i915/cml: Remove unsupport PCI ID
URL   : https://patchwork.freedesktop.org/series/70668/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
1252381d27fa drm/i915/cml: Remove unsupport PCI ID
70d0910f13a4 drm/i915/cml: Separate U series pci id from origianl list.
-:58: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#58: FILE: include/drm/i915_pciids.h:454:
+#define INTEL_CML_U_GT1_IDS(info) \
+	INTEL_VGA_DEVICE(0x9B21, info), \
+	INTEL_VGA_DEVICE(0x9BAA, info), \
+	INTEL_VGA_DEVICE(0x9BAC, info)

-:58: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#58: FILE: include/drm/i915_pciids.h:454:
+#define INTEL_CML_U_GT1_IDS(info) \
+	INTEL_VGA_DEVICE(0x9B21, info), \
+	INTEL_VGA_DEVICE(0x9BAA, info), \
+	INTEL_VGA_DEVICE(0x9BAC, info)

-:75: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#75: FILE: include/drm/i915_pciids.h:469:
+#define INTEL_CML_U_GT2_IDS(info) \
+	INTEL_VGA_DEVICE(0x9B41, info), \
+	INTEL_VGA_DEVICE(0x9BCA, info), \
+	INTEL_VGA_DEVICE(0x9BCC, info)

-:75: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#75: FILE: include/drm/i915_pciids.h:469:
+#define INTEL_CML_U_GT2_IDS(info) \
+	INTEL_VGA_DEVICE(0x9B41, info), \
+	INTEL_VGA_DEVICE(0x9BCA, info), \
+	INTEL_VGA_DEVICE(0x9BCC, info)

total: 2 errors, 0 warnings, 2 checks, 61 lines checked



More information about the Intel-gfx mailing list