linux-stable/drivers/gpu
Felix Kuehling 4a635b9d5b drm/amdkfd: Fix error handling in svm_range_add
[ Upstream commit 726be40607 ]

Add null-pointer check after the last svm_range_new call. This was
originally reported by Zhou Qingyang <zhou1615@umn.edu> based on a
static analyzer.

To avoid duplicating the unwinding code from svm_range_handle_overlap,
I merged the two functions into one.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Zhou Qingyang <zhou1615@umn.edu>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:04:41 +01:00
..
drm drm/amdkfd: Fix error handling in svm_range_add 2022-01-27 11:04:41 +01:00
host1x
ipu-v3
trace
vga
Makefile