[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v5,1/3] drm/i915/migrate: Account for the reserved_space

Patchwork patchwork at emeril.freedesktop.org
Fri Dec 2 10:18:43 UTC 2022


== Series Details ==

Series: series starting with [v5,1/3] drm/i915/migrate: Account for the reserved_space
URL   : https://patchwork.freedesktop.org/series/111577/
State : warning

== Summary ==

Error: dim checkpatch failed
977e2603928c drm/i915/migrate: Account for the reserved_space
-:36: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#36: FILE: drivers/gpu/drm/i915/gt/intel_migrate.c:347:
+       struct intel_ring *ring = rq->ring;$

-:38: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#38: FILE: drivers/gpu/drm/i915/gt/intel_migrate.c:349:
+       pkt = min_t(int, pkt, (ring->space - rq->reserved_space) / sizeof(u32) + 5);$

-:39: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#39: FILE: drivers/gpu/drm/i915/gt/intel_migrate.c:350:
+       pkt = min_t(int, pkt, (ring->size - ring->emit) / sizeof(u32) + 5);$

-:41: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#41: FILE: drivers/gpu/drm/i915/gt/intel_migrate.c:352:
+       return pkt;$

total: 0 errors, 4 warnings, 0 checks, 34 lines checked
bce28e11b423 drm/i915/selftests: use live_subtests for live_migrate
d5c2ffdf5bf0 drm/i915/selftests: exercise emit_pte() with nearly full ring
-:15: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#15: 
v5: Use a simple on-stack timer to kill the spinner instead of kthread (Chris)

-:82: WARNING:TRACING_LOGGING: Unnecessary ftrace-like logging - prefer using ftrace
#82: FILE: drivers/gpu/drm/i915/gt/selftest_migrate.c:543:
+	pr_info("%s\n", __func__);

total: 0 errors, 2 warnings, 0 checks, 187 lines checked




More information about the Intel-gfx mailing list