mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
Since 'hardwareActivityPerformanceLevels' is set to the size of the
'performance_levels' array in smu7_hwmgr_backend_init(), using the
'<=' assertion to check for the next index value is incorrect.
Replace it with '<'.
Detected using the static analysis tool - Svace.
Fixes:
|
||
|---|---|---|
| .. | ||
| inc | ||
| legacy-dpm | ||
| powerplay | ||
| swsmu | ||
| amdgpu_dpm_internal.c | ||
| amdgpu_dpm.c | ||
| amdgpu_pm.c | ||
| Makefile | ||