[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Perform some basic cycle counting of MI ops (rev3)

Patchwork patchwork at emeril.freedesktop.org
Mon Nov 11 18:39:20 UTC 2019


== Series Details ==

Series: drm/i915/selftests: Perform some basic cycle counting of MI ops (rev3)
URL   : https://patchwork.freedesktop.org/series/68824/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
126d741bd371 drm/i915/selftests: Perform some basic cycle counting of MI ops
-:460: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#460: 
new file mode 100644

-:499: ERROR:BRACKET_SPACE: space prohibited before open square bracket '['
#499: FILE: drivers/gpu/drm/i915/selftests/i915_selftest.c:87:
+#define selftest(n, f) [perf_##n] = { .name = #n, { .live = f } },

-:503: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#503: FILE: drivers/gpu/drm/i915/selftests/i915_selftest.c:91:
+};
+#undef selftest

-:514: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#514: FILE: drivers/gpu/drm/i915/selftests/i915_selftest.c:110:
+#define selftest_0(n, func, id) \
+module_param_named(id, perf_selftests[perf_##n].enabled, bool, 0400);

total: 1 errors, 2 warnings, 1 checks, 501 lines checked



More information about the Intel-gfx mailing list