✓ CI.checkpatch: success for drm/xe/guc: Fix inverted logic on snapshot->copy check
Patchwork
patchwork at emeril.freedesktop.org
Wed Oct 9 17:14:57 UTC 2024
== Series Details ==
Series: drm/xe/guc: Fix inverted logic on snapshot->copy check
URL : https://patchwork.freedesktop.org/series/139799/
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 265ed5794e0961e53a906a1f16137a64244425c8
Author: Colin Ian King <colin.i.king at gmail.com>
Date: Wed Oct 9 17:05:10 2024 +0100
drm/xe/guc: Fix inverted logic on snapshot->copy check
Currently the check to see if snapshot->copy has been allocated is
inverted and ends up dereferencing snapshot->copy when free'ing
objects in the array when it is null or not free'ing the objects
when snapshot->copy is allocated. Fix this by using the correct
non-null pointer check logic.
Fixes: d8ce1a977226 ("drm/xe/guc: Use a two stage dump for GuC logs and add more info")
Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
Reviewed-by: John Harrison <John.C.Harrison at Intel.com>
+ /mt/dim checkpatch 5ac8672cc80fd6228fbdcee22771f9f86b811eef drm-intel
265ed5794e09 drm/xe/guc: Fix inverted logic on snapshot->copy check
More information about the Intel-xe
mailing list