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-09-08 14:41:40 +10:00
2020-09-23 09:52:24 +10:00
2020-09-16 13:08:10 +02:00
2020-08-11 11:58:31 +10:00
2020-09-23 09:52:24 +10:00
2020-10-15 14:43:29 -07:00
2020-09-08 14:41:40 +10:00
2020-08-06 14:27:31 -07:00
2020-09-14 18:11:40 +02:00
2020-10-12 20:26:14 +02:00
2020-10-24 10:39:22 -07:00
2020-10-15 14:43:29 -07:00
2020-09-16 11:13:27 +02:00
2020-10-23 10:05:17 +02:00
2020-07-23 10:06:22 +02:00
2020-09-18 06:14:41 +10:00
2020-04-03 17:11:41 +02:00
2020-09-23 09:52:24 +10:00
2020-09-08 14:41:40 +10:00
2020-10-15 10:46:16 -07:00
2020-06-24 09:17:34 +02:00
2020-09-11 10:47:19 +02:00
2020-09-23 09:52:24 +10:00
2020-09-11 10:47:19 +02:00
2020-10-17 11:18:18 -07:00
2020-09-23 09:52:24 +10:00
2020-08-06 14:27:31 -07:00
2020-05-27 14:31:42 +03:00
2020-08-25 11:00:02 +02:00
2020-04-03 17:11:41 +02:00
2020-09-23 09:52:24 +10:00
2020-09-21 10:45:08 +02:00
2020-09-21 10:45:08 +02:00
2020-06-24 15:45:51 +10:00
2020-05-29 12:58:11 +02:00
2020-09-21 10:45:08 +02:00
2020-08-11 11:58:31 +10:00
2020-08-11 11:58:31 +10:00
2020-08-25 11:00:02 +02:00
2020-06-24 15:45:51 +10:00