[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915/gem: Avoid kmalloc under i915->mm_lock

Patchwork patchwork at emeril.freedesktop.org
Fri Jun 19 15:41:44 UTC 2020


== Series Details ==

Series: series starting with [1/3] drm/i915/gem: Avoid kmalloc under i915->mm_lock
URL   : https://patchwork.freedesktop.org/series/78643/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
e219e0a60e23 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
f2a7b9c76cd4 drm/i915/gvt: Drop redundant prepare_write/pin_pages
a5bd05750493 drm/i915/gt: Replace manual kmap_atomic() with pin_map for renderstate



More information about the Intel-gfx mailing list