summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorColin Ian King2018-03-21 19:26:53 +0100
committerAlex Deucher2018-03-23 15:42:00 +0100
commit5b2933556fe02b3576758609918694a9e2a031d0 (patch)
treea6a8e5e68a695ef77de34eb719a8a3bae6e0f1d9 /Kconfig
parentdrm/amdgpu: Add an ATPX quirk for hybrid laptop (diff)
downloadkernel-qcow2-linux-5b2933556fe02b3576758609918694a9e2a031d0.tar.gz
kernel-qcow2-linux-5b2933556fe02b3576758609918694a9e2a031d0.tar.xz
kernel-qcow2-linux-5b2933556fe02b3576758609918694a9e2a031d0.zip
drm/amd/pp: use mlck_table.count for array loop index limit
v2: use temporaries to trivially reduces object size. The for-loops process data in the mclk_table but use slck_table.count as the loop index limit. I believe these are cut-n-paste errors from the previous almost identical loops as indicated by static analysis. Fix these. Detected by CoverityScan, CID#1466001 ("Copy-paste error") Fixes: 5d97cf39ff24 ("drm/amd/pp: Add and initialize OD_dpm_table for CI/VI.") Fixes: 5e4d4fbea557 ("drm/amd/pp: Implement edit_dpm_table on smu7") Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions