[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v3,1/2] drm/i915/migrate: Account for the reserved_space
Patchwork
patchwork at emeril.freedesktop.org
Mon Nov 21 22:06:14 UTC 2022
== Series Details ==
Series: series starting with [v3,1/2] drm/i915/migrate: Account for the reserved_space
URL : https://patchwork.freedesktop.org/series/111155/
State : warning
== Summary ==
Error: dim checkpatch failed
889967ecb7d7 drm/i915/migrate: Account for the reserved_space
-:35: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#35: FILE: drivers/gpu/drm/i915/gt/intel_migrate.c:347:
+ struct intel_ring *ring = rq->ring;$
-:37: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#37: FILE: drivers/gpu/drm/i915/gt/intel_migrate.c:349:
+ pkt = min_t(int, pkt, (ring->space - rq->reserved_space) / 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:350:
+ pkt = min_t(int, pkt, (ring->size - ring->emit) / sizeof(u32) + 5);$
-:40: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#40: FILE: drivers/gpu/drm/i915/gt/intel_migrate.c:352:
+ return pkt;$
total: 0 errors, 4 warnings, 0 checks, 34 lines checked
73339f787e99 drm/i915/selftests: exercise emit_pte() with nearly full ring
-:74: WARNING:TRACING_LOGGING: Unnecessary ftrace-like logging - prefer using ftrace
#74: FILE: drivers/gpu/drm/i915/gt/selftest_migrate.c:537:
+ pr_info("%s\n", __func__);
-:184: WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
#184: FILE: drivers/gpu/drm/i915/gt/selftest_migrate.c:647:
+ msleep(10); /* start all threads before we kthread_stop() */
total: 0 errors, 2 warnings, 0 checks, 198 lines checked
More information about the Intel-gfx
mailing list