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

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 22 10:23:50 UTC 2023


== Series Details ==

Series: drm/ttm: Fixes around resources and bulk moves
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/
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ git -C mt rev-list -n1 origin/master
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 71a73fb2d450788f977b054b158d9fd4930e17ec
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Thu Jun 22 12:14:12 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>
+ /mt/dim checkpatch bf01ddde17686463166a5006a6521f71c3df771a drm-intel
ed847cbe9 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
d84b73d30 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
561eafa19 drm/ttm: Don't leak a resource on eviction error
-:12: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '403797925768', maybe rebased or not pulled?
#12: 
Fixes: 403797925768 ("drm/ttm: Fix multihop assert on eviction.")

total: 0 errors, 1 warnings, 0 checks, 22 lines checked
71a73fb2d 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