diff options
author | Mikita Lipski <mikita.lipski@amd.com> | 2021-11-16 00:07:38 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-09 07:24:08 +0300 |
commit | 0755c38eb007196a5f779298b4a5f46c4eec41d2 (patch) | |
tree | 0b448db4131dc6b4bab4871d962d7f76a7275bfe /scripts/generate_rust_analyzer.py | |
parent | af6902ec415655236adea91826bd96ed0ab16f42 (diff) | |
download | linux-0755c38eb007196a5f779298b4a5f46c4eec41d2.tar.xz |
drm/amd/display: prevent reading unitialized links
[why/how]
The function can be called on boot or after suspend when
links are not initialized, to prevent it guard it with
NULL pointer check
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions