[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET (rev6)

Patchwork patchwork at emeril.freedesktop.org
Wed Dec 4 08:04:57 UTC 2019


== Series Details ==

Series: drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET (rev6)
URL   : https://patchwork.freedesktop.org/series/70164/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
27cfdf6b3d94 drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET
-:458: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#458: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.c:588:
+		return -ENODEV;
+	else

-:654: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#654: 
new file mode 100644

-:659: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#659: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.h:1:
+/*

-:660: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#660: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.h:2:
+ * SPDX-License-Identifier: MIT

-:690: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment
#690: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.h:32:
+			      struct mutex *mutex);

-:1229: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#1229: FILE: drivers/gpu/drm/i915/i915_getparam.c:2:
  * SPDX-License-Identifier: MIT

-:1282: WARNING:LONG_LINE: line over 100 characters
#1282: FILE: include/uapi/drm/i915_drm.h:398:
+#define DRM_IOCTL_I915_GEM_MMAP_OFFSET	DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MMAP_GTT, struct drm_i915_gem_mmap_offset)

total: 0 errors, 6 warnings, 1 checks, 1164 lines checked



More information about the Intel-gfx mailing list