diff options
author | Kent Russell <kent.russell@amd.com> | 2020-11-02 11:17:59 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-02 15:33:33 -0500 |
commit | 9d17df77bcfaef59e99586c4db8ef38b4bfe46ea (patch) | |
tree | 4d7cd44e6674d284a911f86af43db56c52493227 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | |
parent | 4dbcdc9cada2fd5cc05e1678213896059a097660 (diff) |
amdkfd: Check kvmalloc return before memcpy
If we can't kvmalloc the pcrat_image, then we shouldn't memcpy
Signed-off-by: Kent Russell <kent.russell@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c')
0 files changed, 0 insertions, 0 deletions