[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: Upstream initial DG2 PCI IDs
Patchwork
patchwork at emeril.freedesktop.org
Mon Apr 25 21:27:04 UTC 2022
== Series Details ==
Series: i915: Upstream initial DG2 PCI IDs
URL : https://patchwork.freedesktop.org/series/103098/
State : warning
== Summary ==
Error: dim checkpatch failed
54fcf40b14d7 topic/core-for-CI: Revert DG2 and ATS-M device IDs
-:9: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 92b805135ed2 ("drm/i915: Add DG2 PCI IDs")'
#9:
- 92b805135ed2 ("drm/i915: Add DG2 PCI IDs")
-:10: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit bca8f652e1a0 ("topic/core-for-CI: Add ATS-M PCI IDs")'
#10:
- bca8f652e1a0 ("topic/core-for-CI: Add ATS-M PCI IDs")
total: 2 errors, 0 warnings, 0 checks, 98 lines checked
dd0e2dc75482 drm/i915: Add first set of DG2 PCI IDs
-:92: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#92: FILE: include/drm/i915_pciids.h:696:
+#define INTEL_DG2_G10_IDS(info) \
+ INTEL_VGA_DEVICE(0x5690, info), \
+ INTEL_VGA_DEVICE(0x5691, info), \
+ INTEL_VGA_DEVICE(0x5692, info)
-:92: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#92: FILE: include/drm/i915_pciids.h:696:
+#define INTEL_DG2_G10_IDS(info) \
+ INTEL_VGA_DEVICE(0x5690, info), \
+ INTEL_VGA_DEVICE(0x5691, info), \
+ INTEL_VGA_DEVICE(0x5692, info)
-:97: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#97: FILE: include/drm/i915_pciids.h:701:
+#define INTEL_DG2_G11_IDS(info) \
+ INTEL_VGA_DEVICE(0x5693, info), \
+ INTEL_VGA_DEVICE(0x5694, info), \
+ INTEL_VGA_DEVICE(0x5695, info), \
+ INTEL_VGA_DEVICE(0x56B0, info)
-:97: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#97: FILE: include/drm/i915_pciids.h:701:
+#define INTEL_DG2_G11_IDS(info) \
+ INTEL_VGA_DEVICE(0x5693, info), \
+ INTEL_VGA_DEVICE(0x5694, info), \
+ INTEL_VGA_DEVICE(0x5695, info), \
+ INTEL_VGA_DEVICE(0x56B0, info)
-:103: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#103: FILE: include/drm/i915_pciids.h:707:
+#define INTEL_DG2_G12_IDS(info) \
+ INTEL_VGA_DEVICE(0x5696, info), \
+ INTEL_VGA_DEVICE(0x5697, info), \
+ INTEL_VGA_DEVICE(0x56B2, info)
-:103: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#103: FILE: include/drm/i915_pciids.h:707:
+#define INTEL_DG2_G12_IDS(info) \
+ INTEL_VGA_DEVICE(0x5696, info), \
+ INTEL_VGA_DEVICE(0x5697, info), \
+ INTEL_VGA_DEVICE(0x56B2, info)
-:108: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#108: FILE: include/drm/i915_pciids.h:712:
+#define INTEL_DG2_IDS(info) \
+ INTEL_DG2_G10_IDS(info), \
+ INTEL_DG2_G11_IDS(info), \
+ INTEL_DG2_G12_IDS(info)
-:108: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#108: FILE: include/drm/i915_pciids.h:712:
+#define INTEL_DG2_IDS(info) \
+ INTEL_DG2_G10_IDS(info), \
+ INTEL_DG2_G11_IDS(info), \
+ INTEL_DG2_G12_IDS(info)
total: 4 errors, 0 warnings, 4 checks, 73 lines checked
33a4fa208957 topic/core-for-CI: Add remaining DG2 and ATS-M device IDs
-:95: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#95: FILE: include/drm/i915_pciids.h:732:
+#define INTEL_ATS_M_IDS(info) \
+ INTEL_ATS_M150_IDS(info), \
+ INTEL_ATS_M75_IDS(info)
-:95: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#95: FILE: include/drm/i915_pciids.h:732:
+#define INTEL_ATS_M_IDS(info) \
+ INTEL_ATS_M150_IDS(info), \
+ INTEL_ATS_M75_IDS(info)
total: 1 errors, 0 warnings, 1 checks, 70 lines checked
More information about the Intel-gfx
mailing list