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

Will Deacon <[email protected]>
Newsgroups dev.linux.lists.iommu,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.