[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Exercise context switching in parallell (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Mon Sep 30 11:55:42 UTC 2019
== Series Details ==
Series: drm/i915/selftests: Exercise context switching in parallell (rev2)
URL : https://patchwork.freedesktop.org/series/67395/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
b214c64b2862 drm/i915/selftests: Exercise context switching in parallel
-:32: WARNING:LINE_SPACING: Missing a blank line after declarations
#32: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:168:
+ struct drm_i915_private *i915 = arg->ce[0]->engine->i915;
+ IGT_TIMEOUT(end_time);
-:79: WARNING:LINE_SPACING: Missing a blank line after declarations
#79: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:215:
+ struct drm_i915_private *i915 = arg->ce[0]->engine->i915;
+ IGT_TIMEOUT(end_time);
-:116: WARNING:LINE_SPACING: Missing a blank line after declarations
#116: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:252:
+ struct drm_i915_private *i915 = arg;
+ static int (* const func[])(void *arg) = {
-:123: WARNING:LINE_SPACING: Missing a blank line after declarations
#123: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:259:
+ struct parallel_switch *data;
+ int (* const *fn)(void *arg);
-:178: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!data[n].ce[0]"
#178: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:314:
+ if (data[n].ce[0] == NULL || data[n].ce[1] == NULL)
-:178: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!data[n].ce[1]"
#178: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:314:
+ if (data[n].ce[0] == NULL || data[n].ce[1] == NULL)
total: 0 errors, 4 warnings, 2 checks, 215 lines checked
More information about the Intel-gfx
mailing list