diff options
author | Charlene Liu <[email protected]> | 2023-01-31 12:51:40 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-02-14 16:03:56 -0500 |
commit | f0584be558719e0a7efc78613baa0eafcae05fbe (patch) | |
tree | b47b47c4f9cf943e23885d7a6bebe07acd5e4ba5 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | ed6941b632100169aea453f60461ab79111af48c (diff) |
drm/amd/display: add NULL pointer check
[Why]
In virtual link use case, link->ddc could be NULL.
[How]
Add null pointer check to avoid undefined behavior.
Reviewed-by: Martin Leung <[email protected]>
Reviewed-by: Hansen Dsouza <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Charlene Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions