[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/rpl-p: Add PCI IDs (rev2)

Patchwork patchwork at emeril.freedesktop.org
Mon Apr 18 07:12:58 UTC 2022


== Series Details ==

Series: drm/i915/rpl-p: Add PCI IDs (rev2)
URL   : https://patchwork.freedesktop.org/series/102701/
State : warning

== Summary ==

Error: dim checkpatch failed
b1fab34e082a drm/i915/rpl-p: Add PCI IDs
-:119: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#119: FILE: include/drm/i915_pciids.h:724:
+#define INTEL_RPLP_IDS(info) \
+	INTEL_VGA_DEVICE(0xA720, info), \
+	INTEL_VGA_DEVICE(0xA721, info), \
+	INTEL_VGA_DEVICE(0xA7A0, info), \
+	INTEL_VGA_DEVICE(0xA7A1, info), \
+	INTEL_VGA_DEVICE(0xA7A8, info), \
+	INTEL_VGA_DEVICE(0xA7A9, info)

-:119: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#119: FILE: include/drm/i915_pciids.h:724:
+#define INTEL_RPLP_IDS(info) \
+	INTEL_VGA_DEVICE(0xA720, info), \
+	INTEL_VGA_DEVICE(0xA721, info), \
+	INTEL_VGA_DEVICE(0xA7A0, info), \
+	INTEL_VGA_DEVICE(0xA7A1, info), \
+	INTEL_VGA_DEVICE(0xA7A8, info), \
+	INTEL_VGA_DEVICE(0xA7A9, info)

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




More information about the Intel-gfx mailing list