[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/userptr: Avoid struct_mutex recursion for mmu_invalidate_range_start (rev4)

Patchwork patchwork at emeril.freedesktop.org
Tue Jan 15 15:19:09 UTC 2019


== Series Details ==

Series: drm/i915/userptr: Avoid struct_mutex recursion for mmu_invalidate_range_start (rev4)
URL   : https://patchwork.freedesktop.org/series/51362/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
e1f795fb6dfe drm/i915/userptr: Avoid struct_mutex recursion for mmu_invalidate_range_start
-:27: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#27: 
References: 93065ac753e4 ("mm, oom: distinguish blockable mode for mmu notifiers")

-:27: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 93065ac753e4 ("mm, oom: distinguish blockable mode for mmu notifiers")'
#27: 
References: 93065ac753e4 ("mm, oom: distinguish blockable mode for mmu notifiers")

-:295: ERROR:LOCKING: recursive locking is bad, do not use this ever.
#295: FILE: drivers/gpu/drm/i915/i915_gem_userptr.c:150:
+			switch (mutex_trylock_recursive(unlock)) {

total: 2 errors, 1 warnings, 0 checks, 446 lines checked



More information about the Intel-gfx mailing list