[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: Add mocs kunit

Patchwork patchwork at emeril.freedesktop.org
Tue Oct 10 21:53:28 UTC 2023


== Series Details ==

Series: drm/xe: Add mocs kunit
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 fddb7550e661b05bcd18752999f737576b54bd4e
Author: Ruthuvikas Ravikumar <ruthuvikas.ravikumar at intel.com>
Date:   Wed Oct 11 02:44:15 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 37b2d042c23ae6a10055ea92101a15083d64c718 drm-intel
fddb7550e 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'
-:26: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#26: 
new file mode 100644

-: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,

-: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)

total: 0 errors, 1 warnings, 5 checks, 193 lines checked




More information about the Intel-xe mailing list