[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests/blt: add some kthreads into the mix

Patchwork patchwork at emeril.freedesktop.org
Fri Oct 25 16:14:51 UTC 2019


== Series Details ==

Series: drm/i915/selftests/blt: add some kthreads into the mix
URL   : https://patchwork.freedesktop.org/series/68563/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f43a0146b3fc drm/i915/selftests/blt: add some kthreads into the mix
-:159: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#159: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c:253:
+{
+

-:169: WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply
#169: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c:263:
+	tsk = kzalloc(n_cpus * sizeof(struct task_struct *), GFP_KERNEL);

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



More information about the Intel-gfx mailing list