diff options
| author | Jimmy Kizito <[email protected]> | 2021-09-12 15:21:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-23 19:17:31 +0000 |
| commit | 60f39edd897ea134a4ddb789a6795681691c3183 (patch) | |
| tree | 890a58d8b83178a8dd775921c6039ab1c4ca8278 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | drm/amd/display: Creating a fw boot options bit for an upcoming feature (diff) | |
| download | kernel-60f39edd897ea134a4ddb789a6795681691c3183.tar.gz kernel-60f39edd897ea134a4ddb789a6795681691c3183.zip | |
drm/amd/display: Fix null pointer dereference for encoders
[Why]
Links which are dynamically assigned link encoders have their link
encoder set to NULL.
[How]
Check that a pointer to a link_encoder object is non-NULL before using
it.
Reviewed-by: Aric Cyr <[email protected]>
Reviewed-by: Meenakshikumar Somasundaram <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Jimmy Kizito <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
