commit | 2f590f8419c6abb6d87d89c99931a13404a7dbe1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue May 23 13:13:45 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed May 24 17:39:34 2017 -0400 |
tree | 939bf706ab9b31c7044313e628adfbac9eea77dd | |
parent | ca7962d8ccc3da48073c419700c0813095c39f25 [diff] |
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>