commit | 7f6778b11490dbde786bb88a4bb1d648975c621e | [log] [tgz] |
---|---|---|
author | ChenTao <chentao107@huawei.com> | Wed May 06 13:11:13 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed May 06 16:51:39 2020 -0400 |
tree | 0d0a30c1c1b4e489eedd465e633d7ea5069f728d | |
parent | fd9a9f8801def3908960312e46bb92126add6b66 [diff] |
drm/amdgpu/navi10: fix unsigned comparison with 0 Fixes warning because size is uint32_t and can never be negtative drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:1296:12: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (size < 0) Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: ChenTao <chentao107@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>