Re: [PATCH][next] drm/amd/pm: fix out-of-bound read on pptable->SkuReserved

2020-10-29 Thread Alex Deucher
Applied. Thanks! On Wed, Oct 28, 2020 at 8:43 AM Colin King wrote: > > From: Colin Ian King > > 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

[PATCH][next] drm/amd/pm: fix out-of-bound read on pptable->SkuReserved

2020-10-28 Thread Colin King
From: Colin Ian King 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,