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

Patchwork patchwork at emeril.freedesktop.org
Mon Sep 30 15:24:06 UTC 2019


== Series Details ==

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

== Summary ==

$ dim checkpatch origin/drm-tip
d759ff077352 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);

-:77: WARNING:LINE_SPACING: Missing a blank line after declarations
#77: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c:209:
+	struct drm_i915_private *i915 = arg->ce[0]->engine->i915;
+	IGT_TIMEOUT(end_time);

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

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

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

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



More information about the Intel-gfx mailing list