[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Introduce Raptor Lake S (rev5)

Patchwork
2021-12-03T08:25:54Z

== Series Details ==

Series: Introduce Raptor Lake S (rev5)
URL : https://patchwork.freedesktop.org/series/96869/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
42dde2f80fd1 drm/i915/rpl-s: Add PCI IDS for Raptor Lake S
-:121: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#121: FILE: include/drm/i915_pciids.h:670:
+#define INTEL_RPLS_IDS(info) \
+ INTEL_VGA_DEVICE(0xA780, info), \
+ INTEL_VGA_DEVICE(0xA781, info), \
+ INTEL_VGA_DEVICE(0xA782, info), \
+ INTEL_VGA_DEVICE(0xA783, info), \
+ INTEL_VGA_DEVICE(0xA788, info), \
+ INTEL_VGA_DEVICE(0xA789, info)

-:121: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#121: FILE: include/drm/i915_pciids.h:670:
+#define INTEL_RPLS_IDS(info) \
+ INTEL_VGA_DEVICE(0xA780, info), \
+ INTEL_VGA_DEVICE(0xA781, info), \
+ INTEL_VGA_DEVICE(0xA782, info), \
+ INTEL_VGA_DEVICE(0xA783, info), \
+ INTEL_VGA_DEVICE(0xA788, info), \
+ INTEL_VGA_DEVICE(0xA789, info)

total: 1 errors, 0 warnings, 1 checks, 63 lines checked
27dc80d16a61 drm/i915/rpl-s: Add PCH Support for Raptor Lake S
1bc48ab1e321 drm/i915/rpl-s: Enable guc submission by default