[PATCH] iommu/qcom: Remove sysfs device on probe failure path

Will Deacon will at kernel.org
Wed Jul 22 14:39:22 PDT 2026


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



More information about the linux-arm-kernel mailing list