summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-12-12 18:16:57 +0000
committerAlex Deucher <alexander.deucher@amd.com>2019-12-18 16:09:05 -0500
commit63408972e4715ee03e470d9616e2b6aebd6f2595 (patch)
tree126e3c5cb63e58c5a50318fd42a33bb79bfc56dc /tools/perf/scripts/python/bin/stackcollapse-record
parentb3eca59d998587b1930cb846910ec9824b9c2122 (diff)
downloadkernel-63408972e4715ee03e470d9616e2b6aebd6f2595.tar.gz
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 <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions