diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-08-01 12:01:45 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-02 10:30:38 -0500 |
| commit | ac4bf4a1ebce7554628db89498ec49054c7bcdba (patch) | |
| tree | 425d4b9f798e249c4fd9f785eab06bfd5ee49a04 /tools/perf/scripts/python/stackcollapse.py | |
| parent | drm/amd/powerplay: Allow changing of fan_control in smu_v11_0 (diff) | |
| download | linux-ac4bf4a1ebce7554628db89498ec49054c7bcdba.tar.gz linux-ac4bf4a1ebce7554628db89498ec49054c7bcdba.zip | |
drm/amdgpu: fix unsigned variable instance compared to less than zero
Currenly the error check on variable instance is always false because
it is a uint32_t type and this is never less than zero. Fix this by
making it an int type.
Addresses-Coverity: ("Unsigned compared against 0")
Fixes: 7d0e6329dfdc ("drm/amdgpu: update more sdma instances irq support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
