[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Improvements to GuC error capture

Patchwork patchwork at emeril.freedesktop.org
Fri Apr 28 20:22:14 UTC 2023


== Series Details ==

Series: Improvements to GuC error capture
URL   : https://patchwork.freedesktop.org/series/117120/
State : warning

== Summary ==

Error: dim checkpatch failed
2a554128572f drm/i915/guc: Don't capture Gen8 regs on Xe devices
-:36: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#36: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c:38:
+#define GEN9_GLOBAL \
+	{ GEN8_FAULT_TLB_DATA0,     0,      0, "GEN8_FAULT_TLB_DATA0" }, \
+	{ GEN8_FAULT_TLB_DATA1,     0,      0, "GEN8_FAULT_TLB_DATA1" }

total: 1 errors, 0 warnings, 0 checks, 23 lines checked
1aec011e7466 drm/i915/guc: Consolidate duplicated capture list code
265a61afba27 drm/i915/guc: Capture list naming clean up
-:31: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#31: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c:33:
+#define COMMON_GEN8BASE_GLOBAL \
 	{ ERROR_GEN6,               0,      0, "ERROR_GEN6" }, \
 	{ DONE_REG,                 0,      0, "DONE_REG" }, \
 	{ HSW_GTT_CACHE_EN,         0,      0, "HSW_GTT_CACHE_EN" }

-:37: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#37: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c:38:
+#define GEN8_GLOBAL \
 	{ GEN8_FAULT_TLB_DATA0,     0,      0, "GEN8_FAULT_TLB_DATA0" }, \
 	{ GEN8_FAULT_TLB_DATA1,     0,      0, "GEN8_FAULT_TLB_DATA1" }

total: 2 errors, 0 warnings, 0 checks, 174 lines checked
0dddb3302a00 drm/i915/guc: Fix error capture for virtual engines




More information about the Intel-gfx mailing list