[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Use intel_gt as the primary object for handling resets

Patchwork patchwork at emeril.freedesktop.org
Fri Jul 12 19:44:12 UTC 2019


== Series Details ==

Series: drm/i915/gt: Use intel_gt as the primary object for handling resets
URL   : https://patchwork.freedesktop.org/series/63662/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
ad258f7ff0c9 drm/i915/gt: Use intel_gt as the primary object for handling resets
-:28: WARNING:MEMORY_BARRIER: memory barrier without comment
#28: FILE: drivers/gpu/drm/i915/display/intel_display.c:4275:
+	smp_mb__after_atomic();

-:1840: WARNING:MEMORY_BARRIER: memory barrier without comment
#1840: FILE: drivers/gpu/drm/i915/gt/intel_reset.c:1263:
+	smp_mb__after_atomic();

-:2065: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'W' - possible side-effects?
#2065: FILE: drivers/gpu/drm/i915/gt/intel_reset.h:64:
+#define intel_wedge_on_timeout(W, GT, TIMEOUT)				\
+	for (__intel_init_wedge((W), (GT), (TIMEOUT), __func__);	\
+	     (W)->gt;							\
+	     __intel_fini_wedge((W)))

-:2080: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#2080: 
new file mode 100644

-:4496: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'T' - possible side-effects?
#4496: FILE: drivers/gpu/drm/i915/i915_selftest.h:94:
+#define intel_gt_live_subtests(T, data) ({ \
+	typecheck(struct intel_gt *, data); \
+	__i915_subtests(__func__, \
+			__intel_gt_live_setup, __intel_gt_live_teardown, \
+			T, ARRAY_SIZE(T), data); \
+})

total: 0 errors, 3 warnings, 2 checks, 4315 lines checked



More information about the Intel-gfx mailing list