Skip to content
Commit 9d17df77 authored by Kent Russell's avatar Kent Russell Committed by Alex Deucher
Browse files

amdkfd: Check kvmalloc return before memcpy



If we can't kvmalloc the pcrat_image, then we shouldn't memcpy

Signed-off-by: default avatarKent Russell <kent.russell@amd.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4dbcdc9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment