[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: Discard a misplaced GGTT vma

Patchwork patchwork at emeril.freedesktop.org
Fri Jun 5 11:21:58 UTC 2020


== Series Details ==

Series: series starting with [1/2] drm/i915: Discard a misplaced GGTT vma
URL   : https://patchwork.freedesktop.org/series/78033/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
5de23154206a drm/i915: Discard a misplaced GGTT vma
8f309332415b drm/i915/gem: Avoid kmalloc under i915->mm_lock
-:143: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!new"
#143: FILE: drivers/gpu/drm/i915/gem/i915_gem_userptr.c:332:
+	if (new == NULL)

-:230: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#230: FILE: drivers/gpu/drm/i915/i915_drv.h:991:
+	spinlock_t mm_lock;

total: 0 errors, 0 warnings, 2 checks, 203 lines checked



More information about the Intel-gfx mailing list