✗ CI.checkpatch: warning for series starting with [1/2] drm/xe: add a new debugfs file - mmio

Patchwork patchwork at emeril.freedesktop.org
Sun Dec 10 18:04:18 UTC 2023


== Series Details ==

Series: series starting with [1/2] drm/xe: add a new debugfs file - mmio
URL   : https://patchwork.freedesktop.org/series/127606/
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 e122ff58507a6dc439ed35cb4b2862e650c8d8e9
Author: Koby Elbaz <kelbaz at habana.ai>
Date:   Sun Dec 10 20:01:42 2023 +0200

    drm/xe: restore xe_mmio_ioctl as the ioctl handler of the mmio debugfs file
    
    The drm mmio ioctl handler (xe_mmio_ioctl) wasn't needed anymore,
    and therefore, recently removed.
    Nevertheless, it is now restored for debugging purposes to function
    as the ioctl handler of the 'mmio' debugfs file.
    
    Signed-off-by: Koby Elbaz <kelbaz at habana.ai>
+ /mt/dim checkpatch 1fc141d1f445b8e5ab4ff14645b0482dd98460b9 drm-intel
2782eeddc drm/xe: add a new debugfs file - mmio
e122ff585 drm/xe: restore xe_mmio_ioctl as the ioctl handler of the mmio debugfs file
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:141: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#141: FILE: drivers/gpu/drm/xe/xe_debugfs.c:211:
+		ret = copy_from_user(&mmio_data, (struct xe_debugfs_mmio_ioctl_data __user *)arg,
+				sizeof(mmio_data));

-:150: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#150: FILE: drivers/gpu/drm/xe/xe_debugfs.c:220:
+		ret = copy_to_user((struct xe_debugfs_mmio_ioctl_data __user *)arg,
+				&mmio_data, sizeof(mmio_data));

-:161: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#161: 
new file mode 100644

-:208: CHECK:LINE_SPACING: Please don't use multiple blank lines
#208: FILE: drivers/gpu/drm/xe/xe_debugfs_mmio.h:43:
+
+

total: 0 errors, 1 warnings, 3 checks, 184 lines checked




More information about the Intel-xe mailing list