[Intel-xe] ✗ CI.checkpatch: warning for drm/tests: Fix for UAF and a test for drm_exec lock alloc tracking warning

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 7 23:49:16 UTC 2023


== Series Details ==

Series: drm/tests: Fix for UAF and a test for drm_exec lock alloc tracking warning
URL   : https://patchwork.freedesktop.org/series/123394/
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
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7a92259dedbcbe780348e92d46388904659bd595
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Thu Sep 7 15:53:39 2023 +0200

    drm/tests/drm_exec: Add a test for object freeing within drm_exec_fini()
    
    Check that object freeing from within drm_exec_fini() works as expected
    and is unlikely to generate any warnings.
    
    v3:
    - Condition the test on CONFIG_DEBUG_LOCK_ALLOC
    - Make the test fail if the situation that generates the lockdep
      warning occurs. (Maxime Ripard)
    
    Cc: Maxime Ripard <mripard at kernel.org>
    Cc: Christian König <christian.koenig at amd.com>
    Cc: dri-devel at lists.freedesktop.org
    Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Acked-by: Maxime Ripard <mripard at kernel.org>
+ /mt/dim checkpatch 758f01ec2a6774fda1e8f8075d31f42b81783caf drm-intel
b0c870902 drm/tests: helpers: Avoid a driver uaf
-:134: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'd98780310719', maybe rebased or not pulled?
#134: 
Fixes: d98780310719 ("drm/tests: helpers: Allow to pass a custom drm_driver")

total: 0 errors, 1 warnings, 0 checks, 16 lines checked
7a92259de drm/tests/drm_exec: Add a test for object freeing within drm_exec_fini()




More information about the Intel-xe mailing list