drm/amdgpu: Fix warnings
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 5 Apr 2023 09:37:06 +0000 (15:07 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Apr 2023 22:03:44 +0000 (18:03 -0400)
commit418431bcc9ae6509263f4f3bf4b6a80f39da0772
treecb8d51a89c0995a4a4a931fdb93a695142adb3ac
parent86f3a961f367f5796ed1915cc8253e21c2a329fa
drm/amdgpu: Fix warnings

Fix below warning due to incompatible types in conditional operator

../pm/swsmu/smu13/smu_v13_0_6_ppt.c:315:17: sparse: sparse: incompatible
types in conditional expression (different base types):

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303082135.NjdX1Bij-lkp@intel.com/
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h