drm/amdgpu: Fix minmax warning
authorLuben Tuikov <luben.tuikov@amd.com>
Mon, 21 Nov 2022 17:18:36 +0000 (12:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2022 15:31:30 +0000 (10:31 -0500)
commitabd51738fe754a684ec44b7a9eca1981e1704ad9
treee499c207d72a8755a8e98b1f1a91033d27fdcb0f
parent0317d73954850c48268f3db00a49e676d12b10cf
drm/amdgpu: Fix minmax warning

Fix minmax warning by using min_t() macro and explicitly specifying
the assignment type.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c