]> 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)
commit68a441e31b501c9f446ced0d2c5015e4bd456262
treeddef41822bb0384dec7b3e09856c975bd6249ee8
parent5f6c2e1e2430b27e1b52d17f982c89b3d37ba387
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