[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: uapi review submission

Patchwork patchwork at emeril.freedesktop.org
Fri Jun 30 10:03:47 UTC 2023


== Series Details ==

Series: drm/xe: uapi review submission
URL   : https://patchwork.freedesktop.org/series/120052/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ba42ad11f23b9954d8904c5ee28285c74d492a93
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Fri Jun 30 12:00:59 2023 +0200

    drm/xe: uapi review submission
    
    Add a copy of xe_drm.h for uAPI review purposes only. Never commit this,
    the intention is to perform an uAPI review in this thread and if needed
    move it to Gitlab for easier discussion.
    
    Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
+ /mt/dim checkpatch d835d7f04101ccffa1978e3144b930bfe2af5eda drm-intel
ba42ad11f drm/xe: uapi review submission
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:16: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#16: 
new file mode 100644

-:126: WARNING:LONG_LINE: line length of 124 exceeds 100 columns
#126: FILE: include/uapi/drm/xe_drm_reviewonly.h:106:
+#define DRM_IOCTL_XE_DEVICE_QUERY		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEVICE_QUERY, struct drm_xe_device_query)

-:127: WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#127: FILE: include/uapi/drm/xe_drm_reviewonly.h:107:
+#define DRM_IOCTL_XE_GEM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_CREATE, struct drm_xe_gem_create)

-:128: WARNING:LONG_LINE: line length of 130 exceeds 100 columns
#128: FILE: include/uapi/drm/xe_drm_reviewonly.h:108:
+#define DRM_IOCTL_XE_GEM_MMAP_OFFSET		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_GEM_MMAP_OFFSET, struct drm_xe_gem_mmap_offset)

-:129: WARNING:LONG_LINE: line length of 118 exceeds 100 columns
#129: FILE: include/uapi/drm/xe_drm_reviewonly.h:109:
+#define DRM_IOCTL_XE_VM_CREATE			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_VM_CREATE, struct drm_xe_vm_create)

-:130: WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#130: FILE: include/uapi/drm/xe_drm_reviewonly.h:110:
+#define DRM_IOCTL_XE_VM_DESTROY			 DRM_IOW(DRM_COMMAND_BASE + DRM_XE_VM_DESTROY, struct drm_xe_vm_destroy)

-:131: WARNING:LONG_LINE: line length of 114 exceeds 100 columns
#131: FILE: include/uapi/drm/xe_drm_reviewonly.h:111:
+#define DRM_IOCTL_XE_VM_BIND			 DRM_IOW(DRM_COMMAND_BASE + DRM_XE_VM_BIND, struct drm_xe_vm_bind)

-:132: WARNING:LONG_LINE: line length of 126 exceeds 100 columns
#132: FILE: include/uapi/drm/xe_drm_reviewonly.h:112:
+#define DRM_IOCTL_XE_ENGINE_CREATE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_CREATE, struct drm_xe_engine_create)

-:133: WARNING:LONG_LINE: line length of 138 exceeds 100 columns
#133: FILE: include/uapi/drm/xe_drm_reviewonly.h:113:
+#define DRM_IOCTL_XE_ENGINE_GET_PROPERTY	DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_GET_PROPERTY, struct drm_xe_engine_get_property)

-:134: WARNING:LONG_LINE: line length of 128 exceeds 100 columns
#134: FILE: include/uapi/drm/xe_drm_reviewonly.h:114:
+#define DRM_IOCTL_XE_ENGINE_DESTROY		 DRM_IOW(DRM_COMMAND_BASE + DRM_XE_ENGINE_DESTROY, struct drm_xe_engine_destroy)

-:135: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#135: FILE: include/uapi/drm/xe_drm_reviewonly.h:115:
+#define DRM_IOCTL_XE_EXEC			 DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)

-:136: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#136: FILE: include/uapi/drm/xe_drm_reviewonly.h:116:
+#define DRM_IOCTL_XE_MMIO			DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_MMIO, struct drm_xe_mmio)

-:137: WARNING:LONG_LINE: line length of 138 exceeds 100 columns
#137: FILE: include/uapi/drm/xe_drm_reviewonly.h:117:
+#define DRM_IOCTL_XE_ENGINE_SET_PROPERTY	 DRM_IOW(DRM_COMMAND_BASE + DRM_XE_ENGINE_SET_PROPERTY, struct drm_xe_engine_set_property)

-:138: WARNING:LONG_LINE: line length of 130 exceeds 100 columns
#138: FILE: include/uapi/drm/xe_drm_reviewonly.h:118:
+#define DRM_IOCTL_XE_WAIT_USER_FENCE		DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)

-:139: WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#139: FILE: include/uapi/drm/xe_drm_reviewonly.h:119:
+#define DRM_IOCTL_XE_VM_MADVISE			 DRM_IOW(DRM_COMMAND_BASE + DRM_XE_VM_MADVISE, struct drm_xe_vm_madvise)

-:280: WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#280: FILE: include/uapi/drm/xe_drm_reviewonly.h:260:
+		__u64 native_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */

-:281: WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#281: FILE: include/uapi/drm/xe_drm_reviewonly.h:261:
+		__u64 slow_mem_regions;		/* bit mask of instances from drm_xe_query_mem_usage */

-:282: WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#282: FILE: include/uapi/drm/xe_drm_reviewonly.h:262:
+		__u64 inaccessible_mem_regions;	/* bit mask of instances from drm_xe_query_mem_usage */

-:458: WARNING:TYPO_SPELLING: 'occured' may be misspelled - perhaps 'occurred'?
#458: FILE: include/uapi/drm/xe_drm_reviewonly.h:438:
+	/** @error: errno that occured */
 	                       ^^^^^^^

total: 0 errors, 19 warnings, 0 checks, 1009 lines checked




More information about the Intel-xe mailing list