]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: fix the coverity warning about negative check for an unsigned...
authorPrike Liang <Prike.Liang@amd.com>
Tue, 10 Mar 2020 00:20:01 +0000 (08:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Mar 2020 19:54:56 +0000 (15:54 -0400)
commit7bef6ea9721bb72bfe00810b9d928062a95e8549
tree1b111369dfda01ea425ffd902ecdffe6eca08918
parent9fe58d0bbdb013d9712ae4455faeac72216bba0e
drm/amd/powerplay: fix the coverity warning about negative check for an unsigned value

There will be a coverity warning because min and max are both unsigned.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c