[Intel-xe] ✗ CI.checkpatch: warning for Introduce Local Memory Translation Table

Patchwork patchwork at emeril.freedesktop.org
Tue Nov 28 16:30:44 UTC 2023


== Series Details ==

Series: Introduce Local Memory Translation Table
URL   : https://patchwork.freedesktop.org/series/126993/
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
6030b24c1386b00de8187b5fb987e283a57b372a
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit c96f8f84c807c0764c2575962f674c7fb01afc6f
Author: Michal Wajdeczko <michal.wajdeczko at intel.com>
Date:   Tue Nov 28 16:15:07 2023 +0100

    drm/xe/kunit: Add test for LMTT operations
    
    The LMTT variants are abstracted with xe_lmtt_ops. Make sure that
    both 2L and ML ops implementations are correct.
    
    Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
+ /mt/dim checkpatch b06c9f366cd09b888be061d23eecffed7139c09b drm-intel
e825c177c drm/xe: Define DRM_XE_DEBUG_SRIOV config
-:20: WARNING:CONFIG_DESCRIPTION: please write a help paragraph that fully describes the config symbol
#20: FILE: drivers/gpu/drm/xe/Kconfig.debug:43:
+config DRM_XE_DEBUG_SRIOV
+	bool "Enable extra SR-IOV debugging"
+	default n
+	help
+	  Enable extra SR-IOV debugging info.
+
+	  Recommended for driver developers only.
+
+	  If in doubt, say "N".
+

total: 0 errors, 1 warnings, 0 checks, 16 lines checked
956109d03 drm/xe: Introduce SR-IOV logging macros
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:13: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#13: 
new file mode 100644

-:31: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'xe' - possible side-effects?
#31: FILE: drivers/gpu/drm/xe/xe_sriov_printk.h:14:
+#define xe_sriov_printk_prefix(xe) \
+	((xe)->sriov.__mode == XE_SRIOV_MODE_PF ? "PF: " : \
+	 (xe)->sriov.__mode == XE_SRIOV_MODE_VF ? "VF: " : "")

-:35: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'xe' - possible side-effects?
#35: FILE: drivers/gpu/drm/xe/xe_sriov_printk.h:18:
+#define xe_sriov_printk(xe, _level, fmt, ...) \
+	drm_##_level(&(xe)->drm, "%s" fmt, xe_sriov_printk_prefix(xe), ##__VA_ARGS__)

total: 0 errors, 1 warnings, 2 checks, 46 lines checked
d6f0629bb drm/xe/pf: Introduce Local Memory Translation Table
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'
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'
-:34: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#34: 
new file mode 100644

-:537: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#537: FILE: drivers/gpu/drm/xe/xe_lmtt.c:401:
+		lmtt_write_pte(lmtt, pt, lmtt->ops->lmtt_pte_encode(addr, 0),
+					 lmtt->ops->lmtt_pte_index(start, 0));

total: 0 errors, 1 warnings, 1 checks, 991 lines checked
de48441d8 drm/xe/kunit: Enable CONFIG_PCI_IOV in .kunitconfig
c96f8f84c drm/xe/kunit: Add test for LMTT operations
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:12: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#12: 
new file mode 100644

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




More information about the Intel-xe mailing list