summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2022-06-13 22:11:04 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-07-05 23:13:42 +0300
commit1daf740137275aa56858ea1cd194eb3c1f6da5a0 (patch)
tree9f192a550c193535c16320e20598033b18422d0e /lib/string_helpers.c
parent0c7ea6f824345ffbb3b4ef880c7c56170365bc1e (diff)
downloadlinux-1daf740137275aa56858ea1cd194eb3c1f6da5a0.tar.xz
drm/amd/display: Guard against NULL link encoder in log hw state
[Why & How] Check lenc is not NULL since dynamic link encoder assignment could end up assigning a NULL link encoder. Reviewed-by: Michael Strauss <Michael.Strauss@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions