aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLin.Cao <[email protected]>2023-10-25 03:32:41 +0000
committerAlex Deucher <[email protected]>2023-10-26 23:04:19 +0000
commit406e8845356d18bdf3d3a23b347faf67706472ec (patch)
treeb1e093bbe60f2c8984e1d7f47f0c6f4e29beaecf /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/amdgpu: Add a read to GFX v9.4.3 ring test (diff)
downloadkernel-406e8845356d18bdf3d3a23b347faf67706472ec.tar.gz
kernel-406e8845356d18bdf3d3a23b347faf67706472ec.zip
drm/amd: check num of link levels when update pcie param
In SR-IOV environment, the value of pcie_table->num_of_link_levels will be 0, and num_of_levels - 1 will cause array index out of bounds Signed-off-by: Lin.Cao <[email protected]> Acked-by: Jingwen Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions