Files
linux/drivers/gpu/drm/i915/selftests
Cong Liu 596d7308e1 drm/i915: Fix memory leaks in i915 selftests
[ Upstream commit 803033c148 ]

This patch fixes memory leaks on error escapes in function fake_get_pages

Fixes: c3bfba9a22 ("drm/i915: Check for integer truncation on scatterlist creation")
Signed-off-by: Cong Liu <liucong2@kylinos.cn>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230414224109.1051922-1-andi.shyti@linux.intel.com
(cherry picked from commit 8bfbdadce8)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:17:10 +09:00
..
2022-03-02 08:48:13 -08:00
2022-01-05 10:49:02 -08:00
2022-02-28 08:47:27 +00:00