diff options
| author | Bob Zhou <[email protected]> | 2024-04-23 08:58:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-26 21:22:43 +0000 |
| commit | 8b2faf1a4f3b6c748c0da36cda865a226534d520 (patch) | |
| tree | b2bcc9d9b61b3caa695e91a9e651ce087b39c8ef /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | drm/amdgpu: Initialize timestamp for some legacy SOCs (diff) | |
| download | kernel-8b2faf1a4f3b6c748c0da36cda865a226534d520.tar.gz kernel-8b2faf1a4f3b6c748c0da36cda865a226534d520.zip | |
drm/amdgpu: add error handle to avoid out-of-bounds
if the sdma_v4_0_irq_id_to_seq return -EINVAL, the process should
be stop to avoid out-of-bounds read, so directly return -EINVAL.
Signed-off-by: Bob Zhou <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Le Ma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions
