drm/amdgpu: fix incompatible types in conditional expression
authorLang Yu <Lang.Yu@amd.com>
Mon, 4 Sep 2023 03:59:59 +0000 (11:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Sep 2023 18:35:29 +0000 (14:35 -0400)
commitd519072d26949f9a00a679e112b0297306960696
treea26deec35d91364da9cd5b7872d8344a0eb46bfd
parenteb3b214c37edd323b496b256bb492592aa51c6f2
drm/amdgpu: fix incompatible types in conditional expression

Use proper type.

Fixes: 9d4346bdbc64 ("drm/amdgpu: add VPE 6.1.0 support")
Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Solomon Chiu <solomon.chiu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202309020608.FwP8QMht-lkp@intel.com
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
drivers/gpu/drm/amd/amdgpu/vpe_v6_1.c