RE: [PATCH] drm/amdgpu/powerplay: fix warning in smu_v11_0.c

2020-01-09 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of Alex > Deucher > Sent: Friday, January 10, 2020 4:45 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: [PATCH] drm/amdgpu/powerplay: fix warning in smu_v11_0.c

[PATCH] drm/amdgpu/powerplay: fix warning in smu_v11_0.c

2020-01-09 Thread Alex Deucher
Cast to make min() happy. The values are well within range. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c index