Re: [PATCH] iommu/qcom: Remove sysfs device on probe failure path
From: Will Deacon
Date: Wed Jul 22 2026 - 17:41:28 EST
On Tue, 23 Jun 2026 15:12:45 +0800, Haoxiang Li wrote:
> 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.
>
>
Applied to iommu (arm/smmu/updates), thanks!
[1/1] iommu/qcom: Remove sysfs device on probe failure path
https://git.kernel.org/iommu/c/c579f18e7959
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev