aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-11-03 12:11:46 +0000
committerAndi Shyti <[email protected]>2025-03-20 13:37:47 +0000
commit6ea39cc388899a121b5b19b6968692e9460ee4a3 (patch)
tree5917ac8d5ca75e3d9039acb346b174f94eeef952 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentLinux 6.14-rc7 (diff)
downloadkernel-6ea39cc388899a121b5b19b6968692e9460ee4a3.tar.gz
kernel-6ea39cc388899a121b5b19b6968692e9460ee4a3.zip
i2c: amd-mp2: drop free_irq() of devm_request_irq() allocated irq
irq allocated with devm_request_irq() will be freed in devm_irq_release(), using free_irq() in ->remove() will causes a dangling pointer, and a subsequent double free. So remove the free_irq() in the error path and remove path. Fixes: 969864efae78 ("i2c: amd-mp2: use msix/msi if the hardware supports") Signed-off-by: Yang Yingliang <[email protected]> Acked-by: Shyam Sundar S K <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions