✓ CI.checkpatch: success for drm/xe/guc: Fix dereference before NULL check (rev4)

Patchwork patchwork at emeril.freedesktop.org
Fri Oct 11 18:23:46 UTC 2024


== Series Details ==

Series: drm/xe/guc: Fix dereference before NULL check (rev4)
URL   : https://patchwork.freedesktop.org/series/139890/
State : success

== 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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 0214fae2444baeaaa19821141b0b1451c05a31bc
Author: Everest K.C. <everestkc at everestkc.com.np>
Date:   Wed Oct 9 12:49:49 2024 -0600

    drm/xe/guc: Fix dereference before Null check
    
    The pointer list->list was derefrenced before the Null check
    resulting in possibility of Null pointer derefrencing.
    This patch moves the Null check outside the for loop, so that
    the check is performed before the derefrencing.
    
    This issue was reported by Coverity Scan.
    
    Signed-off-by: Everest K.C. <everestkc at everestkc.com.np>
+ /mt/dim checkpatch d2577be8b969257afb5f76964afc16ae4f6f7c07 drm-intel
0214fae2444b drm/xe/guc: Fix dereference before Null check




More information about the Intel-xe mailing list