diff options
| author | Candice Li <candice.li@amd.com> | 2026-05-13 12:31:57 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-19 11:52:03 -0400 |
| commit | a99cd231cd924b7160fecb9fb3a94b801522323b (patch) | |
| tree | 0079024ff493c7dbed6773aa9c1688c435bfa67e /include/linux/timerqueue.h | |
| parent | 27ef1795bc4e47cae838e0a3ced531c549f9b23d (diff) | |
drm/amdgpu: Bound GPIO I2C table entry count from VBIOS
Reject undersized tables and cap the derived entry count
to AMDGPU_MAX_I2C_BUS so we do not overrun adev->i2c_bus[]
or walk an absurd number of entries on corrupt size fields.
Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
