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

Patchwork patchwork at emeril.freedesktop.org
Fri Nov 18 14:33:10 UTC 2022


== Series Details ==

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

== Summary ==

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

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

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

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

total: 0 errors, 4 warnings, 0 checks, 34 lines checked
28ff1746d334 drm/i915/selftests: exercise emit_pte() with nearly full ring
-:179: WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
#179: FILE: drivers/gpu/drm/i915/gt/selftest_migrate.c:644:
+	msleep(10); /* start all threads before we kthread_stop() */

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




More information about the Intel-gfx mailing list