aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-12-12 18:16:57 +0000
committerAlex Deucher <[email protected]>2019-12-18 16:09:05 -0500
commit63408972e4715ee03e470d9616e2b6aebd6f2595 (patch)
tree126e3c5cb63e58c5a50318fd42a33bb79bfc56dc /tools/perf/scripts/python/mem-phys-addr.py
parentb3eca59d998587b1930cb846910ec9824b9c2122 (diff)
drm/amd/powerplay: fix various dereferences of a pointer before it is null checked
There are several occurrances of the pointer hwmgr being dereferenced before it is null checked. Fix these by performing the dereference of hwmgr after it has been null checked. Addresses-Coverity: ("Dereference before null check") Fixes: c9ffa427db34e6 ("drm/amd/powerplay: enable pp one vf mode for vega10") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions