[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: Add mocs kunit (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Wed Oct 11 22:27:37 UTC 2023
== Series Details ==
Series: drm/xe: Add mocs kunit (rev2)
URL : https://patchwork.freedesktop.org/series/124926/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 5ee5494f34094cbc93ba00a799cf4dea30b48d76
Author: Ruthuvikas Ravikumar <ruthuvikas.ravikumar at intel.com>
Date: Wed Oct 11 22:05:06 2023 +0530
drm/xe: add mocs kunit
This kunit verifies the hardware values of the mocs and l3cc
registers with the KMD programmed values.
Cc: Aravind Iddamsetty <aravind.iddamsetty at intel.com>
Cc: Mathew D Roper <matthew.d.roper at intel.com>
Signed-off-by: Ruthuvikas Ravikumar <ruthuvikas.ravikumar at intel.com>
+ /mt/dim checkpatch fe4d6ceb20b5ebad356c722396c2c06d4485c359 drm-intel
5ee5494f3 drm/xe: add mocs kunit
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:9: WARNING:BAD_SIGN_OFF: Do not use whitespace before Cc:
#9:
Cc: Aravind Iddamsetty <aravind.iddamsetty at intel.com>
-:10: WARNING:BAD_SIGN_OFF: Do not use whitespace before Cc:
#10:
Cc: Mathew D Roper <matthew.d.roper at intel.com>
-:11: WARNING:BAD_SIGN_OFF: Do not use whitespace before Signed-off-by:
#11:
Signed-off-by: Ruthuvikas Ravikumar <ruthuvikas.ravikumar at intel.com>
-:26: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#26:
new file mode 100644
-:104: WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#104: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:74:
+ KUNIT_FAIL(test, "l3cc reg 0x%x has incorrect val: \n",
-:105: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#105: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:75:
+ KUNIT_FAIL(test, "l3cc reg 0x%x has incorrect val: \n",
+ LNCFCMOCS(i).addr);
-:112: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#112: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:82:
+}
+static void read_mocs_table(struct xe_gt *gt, const struct xe_mocs_info *info,
-:144: WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#144: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:114:
+ KUNIT_FAIL(test, "mocs reg 0x%x has incorrect val: \n",
-:145: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#145: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:115:
+ KUNIT_FAIL(test, "mocs reg 0x%x has incorrect val: \n",
+ reg.addr);
-:151: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#151: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:121:
+}
+static int mocs_kernel_test_run_device(struct xe_device *xe)
-:169: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#169: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:139:
+}
+void xe_live_mocs_kernel_kunit(struct kunit *test)
-:234: WARNING:MISSING_EOF_NEWLINE: adding a line without newline at end of file
#234: FILE: drivers/gpu/drm/xe/xe_mocs.c:585:
+#endif
total: 0 errors, 7 warnings, 5 checks, 194 lines checked
More information about the Intel-xe
mailing list