[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for intel_memory_region bits

Patchwork patchwork at emeril.freedesktop.org
Tue Oct 8 17:29:54 UTC 2019


== Series Details ==

Series: intel_memory_region bits
URL   : https://patchwork.freedesktop.org/series/67738/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
46562367c0c6 drm/i915: introduce intel_memory_region
-:60: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#60: 
new file mode 100644

-:117: CHECK:SPACING: No space is necessary after a cast
#117: FILE: drivers/gpu/drm/i915/gem/i915_gem_region.c:53:
+	prev_end = (resource_size_t) - 1;

-:117: ERROR:SPACING: space prohibited after that '-' (ctx:WxW)
#117: FILE: drivers/gpu/drm/i915/gem/i915_gem_region.c:53:
+	prev_end = (resource_size_t) - 1;
 	                             ^

-:612: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment
#612: FILE: drivers/gpu/drm/i915/intel_memory_region.h:44:
+	struct mutex mm_lock;

total: 1 errors, 1 warnings, 2 checks, 786 lines checked
beb9b59b5868 drm/i915/region: support contiguous allocations
-:318: WARNING:LINE_SPACING: Missing a blank line after declarations
#318: FILE: drivers/gpu/drm/i915/selftests/intel_memory_region.c:130:
+	LIST_HEAD(holes);
+	I915_RND_STATE(prng);

total: 0 errors, 1 warnings, 0 checks, 393 lines checked
b534adaf17f6 drm/i915/region: support volatile objects



More information about the Intel-gfx mailing list