diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2026-03-16 15:51:08 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-17 12:19:23 -0400 |
| commit | f39e1270277f4b06db0b2c6ec9405b6dd766fb13 (patch) | |
| tree | e811ff86bb96866f8937262b886631ab032b34a9 /include/linux/livepatch_external.h | |
| parent | 9c52f49545478aa47769378cd0b53c5005d6a846 (diff) | |
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 e14d468304832bcc4a082d95849bc0a41b18ddea)
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/livepatch_external.h')
0 files changed, 0 insertions, 0 deletions
