diff options
| author | 2019-10-03 22:52:27 +0100 | |
|---|---|---|
| committer | 2019-10-04 08:53:14 -0500 | |
| commit | 17cf678a33c6196a3df4531fe5aec91384c9eeb5 (patch) | |
| tree | e50d848e7764432b7cf707a150dc1aa31120177c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | drm/amd/display: Make some functions static (diff) | |
| download | wireguard-linux-17cf678a33c6196a3df4531fe5aec91384c9eeb5.tar.xz wireguard-linux-17cf678a33c6196a3df4531fe5aec91384c9eeb5.zip | |
drm/amdgpu: fix uninitialized variable pasid_mapping_needed
The boolean variable pasid_mapping_needed is not initialized and
there are code paths that do not assign it any value before it is
is read later. Fix this by initializing pasid_mapping_needed to
false.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 6817bf283b2b ("drm/amdgpu: grab the id mgr lock while accessing passid_mapping")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
