aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorAaro Koskinen <[email protected]>2018-10-26 22:46:34 +0000
committerPaul Burton <[email protected]>2018-11-05 18:03:35 +0000
commitc0fae7e2452b90c31edd2d25eb3baf0c76b400ca (patch)
tree7c60b9d8d853385be06e26c07675e7673ec50a6c /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentLinux 4.20-rc1 (diff)
downloadkernel-c0fae7e2452b90c31edd2d25eb3baf0c76b400ca.tar.gz
kernel-c0fae7e2452b90c31edd2d25eb3baf0c76b400ca.zip
MIPS: OCTEON: fix out of bounds array access on CN68XX
The maximum number of interfaces is returned by cvmx_helper_get_number_of_interfaces(), and the value is used to access interface_port_count[]. When CN68XX support was added, we forgot to increase the array size. Fix that. Fixes: 2c8c3f0201333 ("MIPS: Octeon: Support additional interfaces on CN68XX") Signed-off-by: Aaro Koskinen <[email protected]> Signed-off-by: Paul Burton <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/20949/ Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] # v4.3+
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions