diff options
| author | Junwei Zhang <[email protected]> | 2018-07-16 02:53:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-07-16 21:11:48 +0000 |
| commit | a6da48caf92b4b6119cae146259528bec0e48545 (patch) | |
| tree | d3f0039bf76703f6228925ddc6db4bc1fc29eafd /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amdgpu: Allow to create BO lists in CS ioctl v3 (diff) | |
| download | kernel-a6da48caf92b4b6119cae146259528bec0e48545.tar.gz kernel-a6da48caf92b4b6119cae146259528bec0e48545.zip | |
drm/scheduler: add NULL pointer check for run queue (v2)
To check rq pointer before adding entity into it.
That avoids NULL pointer access in some case.
v2: move the check to caller
Suggested-by: Christian König <[email protected]>
Signed-off-by: Junwei Zhang <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
