diff options
author | Mikita Lipski <[email protected]> | 2021-11-15 16:07:38 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-12-08 23:24:08 -0500 |
commit | 0755c38eb007196a5f779298b4a5f46c4eec41d2 (patch) | |
tree | 0b448db4131dc6b4bab4871d962d7f76a7275bfe /lib/test_overflow.c | |
parent | af6902ec415655236adea91826bd96ed0ab16f42 (diff) |
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 <[email protected]>
Acked-by: Pavle Kotarac <[email protected]>
Signed-off-by: Mikita Lipski <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions