diff options
author | 2017-05-23 13:13:45 +0800 | |
---|---|---|
committer | 2017-05-24 16:49:34 -0400 | |
commit | 3083696a1ee68f4845f8e9a21b91e343ff25eff3 (patch) | |
tree | 7192b523b3b38d0680e2a70022dd0418445e832e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: fix NULL pointer panic of emit_gds_switch (diff) | |
download | wireguard-linux-3083696a1ee68f4845f8e9a21b91e343ff25eff3.tar.xz wireguard-linux-3083696a1ee68f4845f8e9a21b91e343ff25eff3.zip |
drm/amd/powerplay: fix a signedness bugs
Smatch complains about a signedness bug here:
vega10_hwmgr.c:4202 vega10_force_clock_level()
warn: always true condition '(i >= 0) => (0-u32max >= 0)'
Fixes: 7b52db39a4c2 ("drm/amd/powerplay: fix bug sclk/mclk
level can't be set on vega10.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions