drm/amd/pm: fix the compile warning
authorEvan Quan <evan.quan@amd.com>
Mon, 25 Apr 2022 02:16:46 +0000 (10:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Apr 2022 21:45:49 +0000 (17:45 -0400)
commit555238d92ac32dbad2d77ad2bafc48d17391990c
treeddef41822bb0384dec7b3e09856c975bd6249ee8
parentb179fc28d521379ba7e0a38eec1a4c722e7ea634
drm/amd/pm: fix the compile warning

Fix the compile warning below:
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c:1641
kv_get_acp_boot_level() warn: always true condition '(table->entries[i]->clk >= 0) => (0-u32max >= 0)'

Reported-by: kernel test robot <lkp@intel.com>
CC: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c