diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-12-12 18:16:57 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-18 16:09:05 -0500 |
commit | 63408972e4715ee03e470d9616e2b6aebd6f2595 (patch) | |
tree | 126e3c5cb63e58c5a50318fd42a33bb79bfc56dc /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | b3eca59d998587b1930cb846910ec9824b9c2122 (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 <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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions