diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2026-03-04 17:26:17 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-17 12:19:17 -0400 |
| commit | 9c52f49545478aa47769378cd0b53c5005d6a846 (patch) | |
| tree | 981afd25796f6e1547ae14de6ecfed72230f2eae /scripts/dummy-tools/python3 | |
| parent | 3cdd405831d8cc50a5eae086403402697bb98a4a (diff) | |
drm/amdgpu/mmhub4.2.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.
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit dea5f235baf3786bfd4fd920b03c19285fdc3d9f)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
