diff options
| author | Dan Carpenter <[email protected]> | 2017-05-23 05:13:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-05-24 21:39:34 +0000 |
| commit | 2f590f8419c6abb6d87d89c99931a13404a7dbe1 (patch) | |
| tree | 939bf706ab9b31c7044313e628adfbac9eea77dd /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amdgpu: fix NULL pointer panic of emit_gds_switch (diff) | |
| download | kernel-2f590f8419c6abb6d87d89c99931a13404a7dbe1.tar.gz kernel-2f590f8419c6abb6d87d89c99931a13404a7dbe1.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 <[email protected]>
Reviewed-by: Eric Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
