]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ee7b7770bedc91f37c4c14c762df099cf519785
treeddef41822bb0384dec7b3e09856c975bd6249ee8
parent8f05e3212010b0fd22682ec6a5a1d9cf257352c9
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