[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/5] drm: Move EXPORT_SYMBOL_FOR_TESTS_ONLY under a separate Kconfig

Patchwork patchwork at emeril.freedesktop.org
Thu Nov 7 20:59:45 UTC 2019


== Series Details ==

Series: series starting with [CI,1/5] drm: Move EXPORT_SYMBOL_FOR_TESTS_ONLY under a separate Kconfig
URL   : https://patchwork.freedesktop.org/series/69147/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
fe079a2c7f06 drm: Move EXPORT_SYMBOL_FOR_TESTS_ONLY under a separate Kconfig
15c2da6271d1 drm: Expose a method for creating anonymous struct file around drm_minor
8783f21fe2d7 drm/i915/selftests: Replace mock_file hackery with drm's true fake
17c7b4b955b3 drm/i915/selftests: Wrap vm_mmap() around GEM objects
-:42: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#42: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:698:
+#define expand32(x) (((x) << 0) | ((x) << 8) | ((x) << 16) | ((x) << 24))

-:95: ERROR:SPACING: space required before that '*' (ctx:VxV)
#95: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:751:
+		u32 __user *ux = u64_to_user_ptr((u64)(addr + i * sizeof*(ux)));
 		                                                        ^

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

-:156: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#156: FILE: drivers/gpu/drm/i915/selftests/igt_mmap.c:1:
+/*

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

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

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

total: 1 errors, 5 warnings, 1 checks, 183 lines checked
3074dbdd4027 drm/i915/selftests: Verify mmap_gtt revocation on unbinding
-:68: WARNING:LINE_SPACING: Missing a blank line after declarations
#68: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:840:
+		int err = __get_user(c, addr);
+		if (err)

total: 0 errors, 1 warnings, 0 checks, 122 lines checked



More information about the Intel-gfx mailing list