diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2026-06-23 15:12:45 +0800 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-07-22 12:59:09 +0000 |
| commit | c579f18e79599c16168925cb149e1db3f29eea5f (patch) | |
| tree | 78e0a3942ed50f3fad9a2d07e8444be4f2f27e8e /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | d149c8b2c0146a01f1be326ddb1e182b55aee638 (diff) | |
iommu/qcom: Remove sysfs device on probe failure path
In qcom_iommu_device_probe(), if iommu_device_register()
fails, the sysfs device created by iommu_device_sysfs_add()
is not released. Add a goto label to do the cleanup.
Fixes: 0ae349a0f33f ("iommu/qcom: Add qcom_iommu")
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions
