[Intel-xe] ✗ CI.checkpatch: warning for Add throttle reasons sysfs

Patchwork patchwork at emeril.freedesktop.org
Tue Sep 19 10:57:26 UTC 2023


== Series Details ==

Series: Add throttle reasons sysfs
URL   : https://patchwork.freedesktop.org/series/123906/
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 7fbf09916ae3017509e06ccb46f3d273147fadea
Author: Sujaritha Sundaresan <sujaritha.sundaresan at intel.com>
Date:   Tue Sep 19 16:35:41 2023 +0530

    drm/xe: Add throttle reason sysfs attributes
    
    Add throttle reasons sysfs interface under device/../gt#/
    Currently there is one overall status and eight reasons
    attributes.
    
    The new sysfs structure will have the below layout
    
    device/tile<n>/gt<n>
                   ├── gt0
                   │   └── throttle
                   │       ├── <throttle_reasons>
                   │
                   │
                   ├── gtN
                   │   └── throttle
                   │       ├── <throttle_reasons>
    
    v2: Fix review comments (Riana)
        Move init call (Matt)
    
    Signed-off-by: Sujaritha Sundaresan <sujaritha.sundaresan at intel.com>
+ /mt/dim checkpatch 3d7e02fb9c40263a989c4c19d2dc5a07659965ed drm-intel
7fbf09916 drm/xe: Add throttle reason sysfs attributes
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'
-:86: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#86: 
new file mode 100644

-:136: WARNING:LINE_SPACING: Missing a blank line after declarations
#136: FILE: drivers/gpu/drm/xe/xe_gt_throttle_sysfs.c:46:
+	u32 reg;
+	if (xe_gt_is_media_type(gt))

-:371: CHECK:LINE_SPACING: Please don't use multiple blank lines
#371: FILE: drivers/gpu/drm/xe/xe_gt_throttle_sysfs.c:281:
+
+

total: 0 errors, 2 warnings, 1 checks, 368 lines checked




More information about the Intel-xe mailing list