drm/scheduler: trivial error handling fix
authorChristian König <christian.koenig@amd.com>
Tue, 14 Aug 2018 07:41:12 +0000 (09:41 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:42 +0000 (11:10 -0500)
commit8acc7254577a3007029b4f13c759bf07d6719075
tree18ef71acc9ba39bbf98df965e644474866919043
parentff30e9e8509cb877dc7cbc776b36c70f5bdd290f
drm/scheduler: trivial error handling fix

Return -ENOMEM when allocating the rq_list fails.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/scheduler/gpu_scheduler.c