✗ CI.checkpatch: warning for drm/xe: Drop bo->size

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 24 20:31:54 UTC 2025


== Series Details ==

Series: drm/xe: Drop bo->size
URL   : https://patchwork.freedesktop.org/series/150710/
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
f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7aff32de565791b0f137cd45ff7e1597a646f871
Author: Matthew Brost <matthew.brost at intel.com>
Date:   Tue Jun 24 12:46:54 2025 -0700

    drm/xe: Drop bo->size
    
    bo->size is redundant because the base GEM object already has a size
    field with the same value. Drop bo->size and use the base GEM object’s
    size instead. While at it, introduce xe_bo_size() to abstract the BO
    size.
    
    Signed-off-by: Matthew Brost <matthew.brost at intel.com>
    Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
+ /mt/dim checkpatch 0db5cf46e2c4fd232179cd9d5d127ab8c4aa0682 drm-intel
7aff32de5657 drm/xe: Drop bo->size
-:44: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#44: FILE: drivers/gpu/drm/xe/xe_bo.c:1203:
+		backup = ___xe_bo_create_locked(xe, NULL, NULL, bo->ttm.base.resv, NULL, xe_bo_size(bo),

total: 0 errors, 1 warnings, 0 checks, 508 lines checked




More information about the Intel-xe mailing list