diff options
| author | Alex Hung <[email protected]> | 2024-06-25 10:35:52 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:12 -0400 |
| commit | be1fb44389ca3038ad2430dac4234669bc177ee3 (patch) | |
| tree | 5648d7c80fd2f3764c40da4e447a505091603f34 /tools/perf/scripts/python/flamegraph.py | |
| parent | 0beca868cde8742240cd0038141c30482d2b7eb8 (diff) | |
drm/amd/display: Check null pointers before used
[WHAT & HOW]
Poniters, such as dc->clk_mgr, are null checked previously in the same
function, so Coverity warns "implies that "dc->clk_mgr" might be null".
As a result, these pointers need to be checked when used again.
This fixes 10 FORWARD_NULL issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Jerry Zuo <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions