diff options
| author | Kent Russell <[email protected]> | 2020-11-02 16:17:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-02 20:33:33 +0000 |
| commit | 9d17df77bcfaef59e99586c4db8ef38b4bfe46ea (patch) | |
| tree | 4d7cd44e6674d284a911f86af43db56c52493227 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
| parent | drm/amd/display: fix the NULL pointer that missed set_disp_pattern_generator ... (diff) | |
| download | kernel-9d17df77bcfaef59e99586c4db8ef38b4bfe46ea.tar.gz kernel-9d17df77bcfaef59e99586c4db8ef38b4bfe46ea.zip | |
amdkfd: Check kvmalloc return before memcpy
If we can't kvmalloc the pcrat_image, then we shouldn't memcpy
Signed-off-by: Kent Russell <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions
