summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorCandice Li <candice.li@amd.com>2026-05-13 07:31:57 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 18:52:03 +0300
commita99cd231cd924b7160fecb9fb3a94b801522323b (patch)
tree0079024ff493c7dbed6773aa9c1688c435bfa67e /include/uapi/linux
parent27ef1795bc4e47cae838e0a3ced531c549f9b23d (diff)
downloadlinux-a99cd231cd924b7160fecb9fb3a94b801522323b.tar.xz
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/uapi/linux')
0 files changed, 0 insertions, 0 deletions