aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-03-29 06:08:01 +0000
committerMika Westerberg <[email protected]>2021-03-30 10:38:10 +0000
commit08fe7ae1857080f5075df5ac7fef2ecd4e289117 (patch)
tree3cb7e14240e814cc04379132a6c6da31a726faed /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentthunderbolt: Fix a leak in tb_retimer_add() (diff)
downloadkernel-08fe7ae1857080f5075df5ac7fef2ecd4e289117.tar.gz
kernel-08fe7ae1857080f5075df5ac7fef2ecd4e289117.zip
thunderbolt: Fix off by one in tb_port_find_retimer()
This array uses 1-based indexing so it corrupts memory one element beyond of the array. Fix it by making the array one element larger. Fixes: dacb12877d92 ("thunderbolt: Add support for on-board retimers") Cc: [email protected] Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions