[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Exercise context switching in parallell (rev3)

Patchwork patchwork at emeril.freedesktop.org
Mon Sep 30 14:22:15 UTC 2019


== Series Details ==

Series: drm/i915/selftests: Exercise context switching in parallell (rev3)
URL   : https://patchwork.freedesktop.org/series/67395/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
b6e359fa23f7 drm/i915/selftests: Exercise context switching in parallel
-:36: WARNING:LINE_SPACING: Missing a blank line after declarations
#36: 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);

-:83: WARNING:LINE_SPACING: Missing a blank line after declarations
#83: 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);

-:120: WARNING:LINE_SPACING: Missing a blank line after declarations
#120: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:252:
+	struct drm_i915_private *i915 = arg;
+	static int (* const func[])(void *arg) = {

-:127: WARNING:LINE_SPACING: Missing a blank line after declarations
#127: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:259:
+	struct i915_gem_engines_iter it;
+	int (* const *fn)(void *arg);

-:214: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!data[n].ce[0]"
#214: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:346:
+			if (data[n].ce[0] == NULL)

total: 0 errors, 4 warnings, 1 checks, 250 lines checked



More information about the Intel-gfx mailing list