[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] drm: Expose a method for creating anonymous struct file around drm_minor
Patchwork
patchwork at emeril.freedesktop.org
Wed Nov 6 15:39:59 UTC 2019
== Series Details ==
Series: series starting with [1/4] drm: Expose a method for creating anonymous struct file around drm_minor
URL : https://patchwork.freedesktop.org/series/69059/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
d7aa94bb3f9e drm: Expose a method for creating anonymous struct file around drm_minor
755b15511b95 drm/i915/selftests: Replace mock_file hackery with drm's true fake
cca250d8785e drm/i915/selftests: Wrap vm_mmap() around GEM objects
-:41: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#41: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:698:
+#define expand32(x) (((x) << 0) | ((x) << 8) | ((x) << 16) | ((x) << 24))
-:91: ERROR:SPACING: space required before that '*' (ctx:VxV)
#91: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:748:
+ u32 __user *ux = u64_to_user_ptr((u64)(addr + i * sizeof*(ux)));
^
-:147: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#147:
new file mode 100644
-:152: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#152: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.c:1:
+/*
-:153: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#153: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.c:2:
+ * SPDX-License-Identifier: MIT
-:197: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#197: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.h:1:
+/*
-:198: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#198: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.h:2:
+ * SPDX-License-Identifier: MIT
total: 1 errors, 5 warnings, 1 checks, 180 lines checked
8f28adffccac drm/i915/selftests: Verify mmap_gtt revocation on unbinding
-:69: WARNING:LINE_SPACING: Missing a blank line after declarations
#69: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:839:
+ int err = __get_user(c, addr);
+ if (err)
total: 0 errors, 1 warnings, 0 checks, 129 lines checked
More information about the Intel-gfx
mailing list