linux/drivers/gpu/drm/amd
Colin Ian King 9e89ee9be1 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: 1dc3c5a95b ("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>
2020-10-30 01:02:18 -04:00
..
acp
amdgpu drm/amd/pm: enable baco reset for Hawaii 2020-10-30 01:00:36 -04:00
amdkfd drm/amdkfd: Fix getting unique_id in topology 2020-10-30 00:59:42 -04:00
display drm/amd/display: remove useless if/else 2020-10-30 01:02:13 -04:00
include drm/amdgpu: drop CONFIG_DRM_AMD_DC_DCN3_01 from atomfirmware.h 2020-10-30 01:02:10 -04:00
pm drm/amd/pm: fix out-of-bound read on pptable->SkuReserved 2020-10-30 01:02:18 -04:00