✗ CI.checkpatch: warning for Add memory sysfs directory and attributes (rev3)

Patchwork patchwork at emeril.freedesktop.org
Thu Dec 7 23:11:33 UTC 2023


== Series Details ==

Series: Add memory sysfs directory and attributes (rev3)
URL   : https://patchwork.freedesktop.org/series/126871/
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 6e4eee09d997b402e1a3c4482407e37bee202e83
Author: Sujaritha Sundaresan <sujaritha.sundaresan at intel.com>
Date:   Thu Dec 7 20:47:39 2023 +0530

    drm/xe: Add vram frequency sysfs attributes
    
    Add vram frequency sysfs attributes under the below hierarchy;
    
    /device/tile<n>/memory/freq
                            |-rp0_freq
                            |-rpn_freq
    
    v2: Drop "vram" from attribute names (Rodrigo)
    
    v3: Add documentation for new sysfs (Riana)
        Drop prefix from XEHP_PCODE_FREQUENCY_CONFIG (Riana)
    
    Signed-off-by: Sujaritha Sundaresan <sujaritha.sundaresan at intel.com>
+ /mt/dim checkpatch 2fb92bd630cfa05b0c63fb268f0f5ebce08cce54 drm-intel
929776c11 drm/xe: Add a new memory directory under tile
-:62: WARNING:BRACES: braces {} are not necessary for single statement blocks
#62: FILE: drivers/gpu/drm/xe/xe_tile_sysfs.c:72:
+	if (!kobj) {
+		drm_warn(&xe->drm, "%s failed, err: %d\n", __func__, -ENOMEM);
+	}

total: 0 errors, 1 warnings, 0 checks, 47 lines checked
6e4eee09d drm/xe: Add vram frequency sysfs attributes
-:60: WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#60: FILE: drivers/gpu/drm/xe/xe_tile_sysfs.c:24:
+ * device/tile#/memory/freq/rp0_freq - The Render Performance (RP) 0 level, which is the maximum one.

-:61: WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#61: FILE: drivers/gpu/drm/xe/xe_tile_sysfs.c:25:
+ * device/tile#/memory/freq/rpn_freq - The Render Performance (RP) N level, which is the minimal one.

total: 0 errors, 2 warnings, 0 checks, 117 lines checked




More information about the Intel-xe mailing list