summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-11-03 20:11:46 +0800
committerAndi Shyti <andi.shyti@kernel.org>2025-03-20 14:37:47 +0100
commit6ea39cc388899a121b5b19b6968692e9460ee4a3 (patch)
tree5917ac8d5ca75e3d9039acb346b174f94eeef952 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent4701f33a10702d5fc577c32434eb62adde0a1ae1 (diff)
downloadlinux-6ea39cc388899a121b5b19b6968692e9460ee4a3.tar.gz
linux-6ea39cc388899a121b5b19b6968692e9460ee4a3.tar.bz2
linux-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 <yangyingliang@huawei.com> Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20221103121146.99836-1-yangyingliang@huawei.com Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions