[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Add coverage of mocs registers (rev2)

Patchwork patchwork at emeril.freedesktop.org
Thu Oct 17 15:02:32 UTC 2019


== Series Details ==

Series: drm/i915/selftests: Add coverage of mocs registers (rev2)
URL   : https://patchwork.freedesktop.org/series/68135/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
716eba73b16f drm/i915/selftests: Add coverage of mocs registers
-:28: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#28: 
new file mode 100644

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

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

-:217: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#217: FILE: drivers/gpu/drm/i915/gt/selftest_mocs.c:185:
+	memset32(arg->vaddr, STACK_MAGIC, PAGE_SIZE/sizeof(u32));
 	                                           ^

-:226: ERROR:SPACING: space required before the open parenthesis '('
#226: FILE: drivers/gpu/drm/i915/gt/selftest_mocs.c:194:
+	if(err)

-:283: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#283: FILE: drivers/gpu/drm/i915/gt/selftest_mocs.c:251:
+
+}

-:284: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#284: FILE: drivers/gpu/drm/i915/gt/selftest_mocs.c:252:
+}
+static int live_mocs_reset(void *arg)

total: 1 errors, 3 warnings, 3 checks, 323 lines checked



More information about the Intel-gfx mailing list