aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2025-04-27 11:34:24 +0000
committerThomas Bogendoerfer <[email protected]>2025-04-30 18:04:59 +0000
commitc44572e0cc13c9afff83fd333135a0aa9b27ba26 (patch)
tree01b0cd68b843a4214fb385fc157fa2a9b20929bb /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentMIPS: CPS: Fix potential NULL pointer dereferences in cps_prepare_cpus() (diff)
downloadkernel-c44572e0cc13c9afff83fd333135a0aa9b27ba26.tar.gz
kernel-c44572e0cc13c9afff83fd333135a0aa9b27ba26.zip
MIPS: Fix MAX_REG_OFFSET
Fix MAX_REG_OFFSET to point to the last register in 'pt_regs' and not to the marker itself, which could allow regs_get_register() to return an invalid offset. Fixes: 40e084a506eb ("MIPS: Add uprobes support.") Suggested-by: Maciej W. Rozycki <[email protected]> Signed-off-by: Thorsten Blum <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions