Loading
drm/amdgpu/gmc9.0: add bounds checking for cid
The value should never exceed the array size as those are the only values the hardware is expected to return, but add checks anyway. Cc: Benjamin Cheng <benjamin.cheng@amd.com> Reviewed-by:Benjamin Cheng <benjamin.cheng@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit e14d4683) Cc: stable@vger.kernel.org