diff options
author | Junwei Zhang <Jerry.Zhang@amd.com> | 2018-07-16 10:53:43 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-16 16:11:48 -0500 |
commit | a6da48caf92b4b6119cae146259528bec0e48545 (patch) | |
tree | d3f0039bf76703f6228925ddc6db4bc1fc29eafd /drivers/gpu/drm/amd/display/modules/color/luts_1d.h | |
parent | 964d0fbf6301d3dc8dfad19ffab5a06d002d27f1 (diff) | |
download | linux-a6da48caf92b4b6119cae146259528bec0e48545.tar.bz2 |
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 <christian.koenig@amd.com>
Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/color/luts_1d.h')
0 files changed, 0 insertions, 0 deletions