[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Retry RING_HEAD reset until it sticks

Patchwork patchwork at emeril.freedesktop.org
Fri Jul 15 09:27:57 UTC 2022


== Series Details ==

Series: drm/i915/gt: Retry RING_HEAD reset until it sticks
URL   : https://patchwork.freedesktop.org/series/106377/
State : warning

== Summary ==

Error: dim checkpatch failed
8af7dbc6eea2 drm/i915/gt: Retry RING_HEAD reset until it sticks
-:116: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'end' - possible side-effects?
#116: FILE: drivers/gpu/drm/i915/i915_utils.h:264:
+#define until_timeout_ns(end, timeout_ns) \
+	for ((end) = ktime_get() + (timeout_ns); \
+	     ktime_before(ktime_get(), (end)); \
+	     cpu_relax())

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




More information about the Intel-gfx mailing list