commit | 2e3a57f4905b4fa6d9b66e9a675c288093c93bf0 | [log] [tgz] |
---|---|---|
author | Kent Russell <kent.russell@amd.com> | Mon Nov 02 11:17:59 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Nov 03 21:00:40 2020 -0500 |
tree | 7f1771e16586e0bc9f9ac1ea000b9c34b902d1cc | |
parent | a2404fd4823053db08d82582f4361e0978a98a24 [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>