[Intel-xe] ✗ CI.checkpatch: warning for drm/ttm: Fixes around resources and bulk moves (rev2)

Patchwork patchwork at emeril.freedesktop.org
Mon Jun 26 11:07:33 UTC 2023


== Series Details ==

Series: drm/ttm: Fixes around resources and bulk moves (rev2)
URL   : https://patchwork.freedesktop.org/series/119741/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 9f8dbfe3b23d980c2bf7855648858e8bcaacb306
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Mon Jun 26 11:14:50 2023 +0200

    drm/ttm: Don't leak a resource on swapout move error
    
    If moving the bo to system for swapout failed, we were leaking
    a resource. Fix.
    
    Fixes: bfa3357ef9ab ("drm/ttm: allocate resource object instead of embedding it v2")
    Cc: Christian König <christian.koenig at amd.com>
    Cc: "Christian König" <ckoenig.leichtzumerken at gmail.com>
    Cc: dri-devel at lists.freedesktop.org
    Cc: <stable at vger.kernel.org> # v5.14+
    Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>
    Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
+ /mt/dim checkpatch d3fc5af59c7c17ad1a0272c49dbff84534d9d606 drm-intel
f7e7660c4 drm/ttm: Fix ttm_lru_bulk_move_pos_tail()
-:13: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#13: 
<3> [218.963342] BUG: KASAN: null-ptr-deref in ttm_lru_bulk_move_del+0xc5/0x180 [ttm]

-:63: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'fee2ede15542', maybe rebased or not pulled?
#63: 
Fixes: fee2ede15542 ("drm/ttm: rework bulk move handling v5")

total: 0 errors, 2 warnings, 0 checks, 8 lines checked
3258267ca drm/ttm: Don't shadow the operation context
-:19: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'dc947770cf34', maybe rebased or not pulled?
#19: 
Fixes: dc947770cf34 ("drm/ttm: enable swapout for reserved BOs during allocation")

total: 0 errors, 1 warnings, 0 checks, 15 lines checked
a67bd07e2 drm/ttm: Don't leak a resource on eviction error
-:15: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '403797925768', maybe rebased or not pulled?
#15: 
Fixes: 403797925768 ("drm/ttm: Fix multihop assert on eviction.")

total: 0 errors, 1 warnings, 0 checks, 29 lines checked
9f8dbfe3b drm/ttm: Don't leak a resource on swapout move error
-:12: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'bfa3357ef9ab', maybe rebased or not pulled?
#12: 
Fixes: bfa3357ef9ab ("drm/ttm: allocate resource object instead of embedding it v2")

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




More information about the Intel-xe mailing list