summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-10-28 12:43:16 +0000
committerAlex Deucher <alexander.deucher@amd.com>2020-10-30 01:02:18 -0400
commit9e89ee9be138e3b93ccf9da40655e094b204dcad (patch)
treedd687f56866d14beba403f490933ca69906c321a /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentcfeb1055e5f479f03278c0915405d182ed2f8fca (diff)
downloadlwn-9e89ee9be138e3b93ccf9da40655e094b204dcad.tar.gz
lwn-9e89ee9be138e3b93ccf9da40655e094b204dcad.zip
drm/amd/pm: fix out-of-bound read on pptable->SkuReserved
A recent change added two uint16_t elements to PPTable_t and reduced the uint32_t array down to 8 elements. This results in the dev_info printing of pptable->SkuReserved[8] accessing a value that is out-of-range on array SkuReserved. The array has been shrunk by 1 element, so remove this extraneous dev_info message. Addresses-Coverity: ("Out-of-bounds read") Fixes: 1dc3c5a95b08 ("drm/amd/pm: update driver if file for sienna cichlid") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions