diff options
| author | ChenTao <[email protected]> | 2020-05-06 05:11:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-05-06 20:51:39 +0000 |
| commit | 7f6778b11490dbde786bb88a4bb1d648975c621e (patch) | |
| tree | 0d0a30c1c1b4e489eedd465e633d7ea5069f728d /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
| parent | drm/amdgpu: Use GEM obj reference for KFD BOs (diff) | |
| download | kernel-7f6778b11490dbde786bb88a4bb1d648975c621e.tar.gz kernel-7f6778b11490dbde786bb88a4bb1d648975c621e.zip | |
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 <[email protected]>
Signed-off-by: ChenTao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions
