aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorRoman Li <[email protected]>2022-12-01 09:06:42 -0500
committerAlex Deucher <[email protected]>2022-12-15 12:18:18 -0500
commit7a7175a2cd84b7874bebbf8e59f134557a34161b (patch)
tree7cb2cf492b3cfe63c6586dbda3cb216aaa8bbcad /tools/perf/scripts/python/libxed.py
parent639f6ad6df7f47db48b59956b469a6917a136afb (diff)
drm/amd/display: Fix potential null-deref in dm_resume
[Why] Fixing smatch error: dm_resume() error: we previously assumed 'aconnector->dc_link' could be null [How] Check if dc_link null at the beginning of the loop, so further checks can be dropped. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Wayne Lin <[email protected]> Acked-by: Jasdeep Dhillon <[email protected]> Signed-off-by: Roman Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions