✓ CI.checkpatch: success for drm/ttm: Fix an invalid freeing on already freed page in error path
Patchwork
patchwork at emeril.freedesktop.org
Wed Feb 21 07:39:01 UTC 2024
== Series Details ==
Series: drm/ttm: Fix an invalid freeing on already freed page in error path
URL : https://patchwork.freedesktop.org/series/130171/
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
35591fb8b4d5305b37ce31483f85ac0956eaa536
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 8bfa8f49e15f52fee4d81d0f40b5acc6091d0ef0
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Wed Feb 21 08:33:24 2024 +0100
drm/ttm: Fix an invalid freeing on already freed page in error path
If caching mode change fails due to, for example, OOM we
free the allocated pages in a two-step process. First the pages
for which the caching change has already succeeded. Secondly
the pages for which a caching change did not succeed.
However the second step was incorrectly freeing the pages already
freed in the first step.
Fix.
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Fixes: 379989e7cbdc ("drm/ttm/pool: Fix ttm_pool_alloc error path")
Cc: Christian König <christian.koenig at amd.com>
Cc: Dave Airlie <airlied at redhat.com>
Cc: Christian Koenig <christian.koenig at amd.com>
Cc: Huang Rui <ray.huang at amd.com>
Cc: dri-devel at lists.freedesktop.org
Cc: <stable at vger.kernel.org> # v6.4+
+ /mt/dim checkpatch 4b8a238dee9c18201f3652695414587cd2ef6d8f drm-intel
8bfa8f49e15f drm/ttm: Fix an invalid freeing on already freed page in error path
More information about the Intel-xe
mailing list