aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-04-02 09:56:42 +0000
committerBoris Brezillon <[email protected]>2024-04-03 07:06:28 +0000
commit2b5890786014b926f845402ae80ebc71c4bd6d5c (patch)
treec4df5a944e906bcc48c7ef1731173e2c1e023b8b /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/panthor: Fix error code in panthor_gpu_init() (diff)
downloadkernel-2b5890786014b926f845402ae80ebc71c4bd6d5c.tar.gz
kernel-2b5890786014b926f845402ae80ebc71c4bd6d5c.zip
drm/panthor: Fix off by one in panthor_fw_get_cs_iface()
The ->iface.streams[csg_slot][] array has MAX_CS_PER_CSG elements so this > comparison needs to be >= to prevent an out of bounds access. Fixes: 2718d91816ee ("drm/panthor: Add the FW logical block") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions