✗ CI.checkpatch: warning for xe/xe_bo_move: Enhance xe_bo_move trace (rev4)

Patchwork patchwork at emeril.freedesktop.org
Tue Feb 6 11:10:40 UTC 2024


== Series Details ==

Series: xe/xe_bo_move: Enhance xe_bo_move trace (rev4)
URL   : https://patchwork.freedesktop.org/series/128151/
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
35591fb8b4d5305b37ce31483f85ac0956eaa536
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 61739fba076280643680527b162320b75de5e678
Author: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Date:   Tue Feb 6 16:29:11 2024 +0530

    xe/xe_bo_move: Enhance xe_bo_move trace
    
    Enhanced xe_bo_move trace to be more readable.
    It will help to show the migration details.
    Src and dst details.
    
    v2: Modify trace_xe_bo_move(), it takes the integer mem_type
    rather than a string.
    Make mem_type_to_name() extern, it will be used by trace.(Thomas)
    
    v3: Move mem_type_to_name() to xe_bo.[ch] (Thomas, Matt)
    
    v4: Add device details to reduce ambiquity related to vram0/vram1. (Oak)
    
    Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Cc: Oak Zeng <oak.zeng at intel.com>
    Cc: Kempczynski Zbigniew <Zbigniew.Kempczynski at intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
    Cc: Brian Welty <brian.welty at intel.com>
    Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
+ /mt/dim checkpatch 7c79a8cb401543f9c8aa8a60e497ae1720ec4cf0 drm-intel
61739fba0 xe/xe_bo_move: Enhance xe_bo_move trace
-:119: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#119: FILE: drivers/gpu/drm/xe/xe_trace.h:107:
+	    TP_STRUCT__entry(

-:127: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#127: FILE: drivers/gpu/drm/xe/xe_trace.h:115:
+	    TP_fast_assign(

-:132: WARNING:LONG_LINE: line length of 111 exceeds 100 columns
#132: FILE: drivers/gpu/drm/xe/xe_trace.h:120:
+		   strscpy(__entry->device_id, dev_name(ttm_to_xe_device(__entry->bo->ttm.bdev)->drm.dev), 12);

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




More information about the Intel-xe mailing list