Kent Russell 2e3a57f490 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>
2020-11-03 21:00:40 -05:00
..
2020-10-15 10:46:16 -07:00
2020-10-15 10:46:16 -07:00
2020-10-15 10:46:16 -07:00
2020-07-15 13:27:34 -04:00